Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001316/0.001316, 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.001529/0.001529, allocations: 212.9 kB / 22.25 MB, free: 5.082 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.274/3.274, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_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.002482/0.002482, allocations: 68.66 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3974, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.002333/0.3997, allocations: 0.8672 MB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.4014, allocations: 1.206 MB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.4015, allocations: 0 / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.4016, allocations: 27.73 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.4017, allocations: 19.86 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.4022, allocations: 152.2 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.4024, allocations: 179.6 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.4025, allocations: 25.8 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.4026, allocations: 63.72 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.4027, allocations: 55.81 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.4028, allocations: 12 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.4028, allocations: 27.98 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.4029, allocations: 11.94 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.4029, allocations: 63.72 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.4032, allocations: 171.3 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4032, allocations: 3.984 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4032, allocations: 4 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.4032, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.045 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.0005724/0.4038, allocations: 363.5 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4038, allocations: 8.031 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.4038, allocations: 30.75 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.4039, allocations: 16.88 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.4042, allocations: 166.3 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4042, allocations: 8.375 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.4042, allocations: 12.38 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.4044, allocations: 80.75 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4044, allocations: 3.938 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4044, allocations: 8 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4044, allocations: 0 / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.4045, allocations: 27.92 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.4051, allocations: 0.4962 MB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.4052, allocations: 34.5 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.4052, allocations: 12.92 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.4052, allocations: 0 / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.4054, allocations: 71.38 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4054, allocations: 0 / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000258/0.4056, allocations: 93.52 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4057, allocations: 55.39 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4059, allocations: 172.4 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.4059, allocations: 29.7 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.406, allocations: 108.1 kB / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.406, allocations: 3.953 kB / 1.357 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.4061, allocations: 37.7 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.4062, allocations: 326.8 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.4063, allocations: 39.92 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.4064, allocations: 58.55 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.4065, allocations: 92.2 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4065, allocations: 4 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002866/0.4068, allocations: 163.2 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.4069, allocations: 37.7 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4069, allocations: 0 / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4069, allocations: 4 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.4069, allocations: 0 / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4069, allocations: 11.92 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.4071, allocations: 31.86 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.4071, allocations: 8.062 kB / 1.358 GB, free: 2.746 MB / 1.045 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.0001141/0.4073, allocations: 129.7 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.4073, allocations: 7.953 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.4073, allocations: 17.02 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4073, allocations: 0 / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4073, allocations: 3.938 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4073, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.4075, allocations: 156.7 kB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4075, allocations: 0 / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.4075, allocations: 8 kB / 1.358 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4075, allocations: 0 / 1.358 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4075, allocations: 4 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4075, allocations: 0 / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4075, allocations: 12 kB / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.4076, allocations: 89.06 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.4077, allocations: 11.91 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4077, allocations: 4 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.4077, allocations: 4 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4077, allocations: 11.86 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4077, allocations: 4 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000111/0.4079, allocations: 124 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4079, allocations: 0 / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000219/0.4081, allocations: 20 kB / 1.359 GB, free: 2.078 MB / 1.045 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.0004805/0.4086, allocations: 0.6319 MB / 1.359 GB, free: 1.414 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.4088, allocations: 131.2 kB / 1.359 GB, free: 1.273 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4088, allocations: 0 / 1.359 GB, free: 1.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.4088, allocations: 15.98 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.4091, allocations: 17.39 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.411, allocations: 1.665 MB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4113, allocations: 0.6924 MB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.4114, allocations: 12.41 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.4114, allocations: 31.42 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.4114, allocations: 4 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.4426, allocations: 2.93 MB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.16, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.1071970969997]