Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 209.9 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003147/0.003147, allocations: 67.5 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.405, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002284/0.4073, allocations: 0.8613 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.409, allocations: 1.211 MB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.409, allocations: 7.938 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.4092, allocations: 19.8 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.4092, allocations: 19.86 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.4097, allocations: 146.4 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.41, allocations: 171.6 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4101, allocations: 25.38 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.4102, allocations: 63.78 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.4103, allocations: 59.75 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.4104, allocations: 16 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.4104, allocations: 27.98 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.4105, allocations: 11.94 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.4105, allocations: 59.77 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.4108, allocations: 170.9 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4108, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4108, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4108, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005686/0.4114, allocations: 369.8 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4114, allocations: 12.03 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.4114, allocations: 42.67 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.4115, allocations: 16.84 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.4118, allocations: 157 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4118, allocations: 8.375 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.4118, allocations: 8.375 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.412, allocations: 92.75 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.412, allocations: 3.938 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.412, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.412, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/0.4121, allocations: 31.92 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.4126, allocations: 0.4962 MB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.247e-05/0.4127, allocations: 38.5 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.4127, allocations: 12.92 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.4127, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.4129, allocations: 63.39 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4129, allocations: 3.938 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002235/0.4131, allocations: 85.56 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.4131, allocations: 55.41 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.4133, allocations: 175.9 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.4133, allocations: 33.7 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.4134, allocations: 104.1 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.4134, allocations: 7.953 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.4135, allocations: 33.7 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4137, allocations: 322.8 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.4137, allocations: 31.98 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-05/0.4138, allocations: 62.55 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.414, allocations: 92.2 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.414, allocations: 4.062 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002947/0.4143, allocations: 171.2 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.4143, allocations: 33.7 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4143, allocations: 8.062 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4143, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.4144, allocations: 7.984 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4144, allocations: 3.938 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4146, allocations: 27.91 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.4146, allocations: 8 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.4147, allocations: 121.8 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.4147, allocations: 15.91 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.4148, allocations: 17.02 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4148, allocations: 0 / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4148, allocations: 3.938 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4148, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.4149, allocations: 160.7 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4149, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.415, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.415, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.415, allocations: 8 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.415, allocations: 0 / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.415, allocations: 7.938 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4151, allocations: 89.06 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.4152, allocations: 11.95 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.4152, allocations: 3.938 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.4152, allocations: 3.938 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.4152, allocations: 11.86 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.4152, allocations: 4 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001023/0.4153, allocations: 128 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4153, allocations: 0 / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002227/0.4155, allocations: 23.95 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004848/0.416, allocations: 0.6322 MB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4163, allocations: 135.4 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4163, allocations: 0 / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.4163, allocations: 15.98 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.4165, allocations: 26.36 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4184, allocations: 1.654 MB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.4188, allocations: 0.6963 MB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.4188, allocations: 8.422 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.4189, allocations: 31.42 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.4189, allocations: 0 / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.4487, allocations: 2.924 MB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.22, allocations: 10.62 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phNo.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.944809956001336]