Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001805/0.001805, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.002045/0.002045, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.099/3.099, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.002248/0.002248, allocations: 63.61 kB / 1.172 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3781, allocations: 180.2 MB / 1.348 GB, free: 10.15 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002368/0.3805, allocations: 0.9386 MB / 1.349 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.382, allocations: 1.198 MB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.3821, allocations: 4 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3822, allocations: 23.8 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.3823, allocations: 27.72 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.3828, allocations: 145.8 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.383, allocations: 167.6 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3831, allocations: 29.61 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.3832, allocations: 63.84 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3833, allocations: 55.69 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.3833, allocations: 16 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.3834, allocations: 27.98 kB / 1.35 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.3834, allocations: 23.86 kB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.3835, allocations: 51.8 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.3837, allocations: 167.4 kB / 1.351 GB, free: 7.211 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3837, allocations: 0 / 1.351 GB, free: 7.211 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3837, allocations: 4 kB / 1.351 GB, free: 7.207 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3837, allocations: 0 / 1.351 GB, free: 7.207 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.0005832/0.3843, allocations: 448.5 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3844, allocations: 15.98 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.3844, allocations: 34.75 kB / 1.351 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.3845, allocations: 12.89 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.3847, allocations: 230 kB / 1.351 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3848, allocations: 8.375 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3848, allocations: 8.375 kB / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3849, allocations: 88.75 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3849, allocations: 3.938 kB / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3849, allocations: 4 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.385, allocations: 4 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.385, allocations: 23.98 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.3856, allocations: 0.5322 MB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.592e-05/0.3856, allocations: 30.5 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.3857, allocations: 12.92 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.3857, allocations: 0 / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.3858, allocations: 63.39 kB / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3858, allocations: 0 / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002056/0.386, allocations: 85.53 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.386, allocations: 55.41 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3862, allocations: 179.3 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3862, allocations: 29.64 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.3863, allocations: 108.1 kB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3863, allocations: 15.89 kB / 1.353 GB, free: 5.004 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.3864, allocations: 29.7 kB / 1.353 GB, free: 4.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3865, allocations: 326.8 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.3866, allocations: 39.98 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.3867, allocations: 50.56 kB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3868, allocations: 92.2 kB / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3868, allocations: 0 / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002883/0.3871, allocations: 171.3 kB / 1.353 GB, free: 4.258 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.3872, allocations: 45.69 kB / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3872, allocations: 0 / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3872, allocations: 0 / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.3872, allocations: 4 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3873, allocations: 7.875 kB / 1.353 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3874, allocations: 27.92 kB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.3875, allocations: 7.984 kB / 1.353 GB, free: 4.16 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: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.0001016/0.3876, allocations: 121.8 kB / 1.353 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3876, allocations: 7.953 kB / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.3876, allocations: 12.94 kB / 1.353 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3876, allocations: 3.984 kB / 1.353 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3876, allocations: 3.938 kB / 1.353 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3876, allocations: 7.938 kB / 1.353 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3878, allocations: 189.7 kB / 1.354 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3878, allocations: 4 kB / 1.354 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.3878, allocations: 0 / 1.354 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3878, allocations: 0 / 1.354 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3878, allocations: 8 kB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3878, allocations: 0 / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3878, allocations: 3.938 kB / 1.354 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.3879, allocations: 93.3 kB / 1.354 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.388, allocations: 93 kB / 1.354 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.388, allocations: 0 / 1.354 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.388, allocations: 0 / 1.354 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.3881, allocations: 3.938 kB / 1.354 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3881, allocations: 12 kB / 1.354 GB, free: 3.504 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3882, allocations: 127.9 kB / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3882, allocations: 0 / 1.354 GB, free: 3.379 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002109/0.3884, allocations: 27.88 kB / 1.354 GB, free: 3.352 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: 3 ($whenCondition1,$whenCondition2,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.0004772/0.3889, allocations: 0.6281 MB / 1.355 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3891, allocations: 127.3 kB / 1.355 GB, free: 2.555 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3891, allocations: 0 / 1.355 GB, free: 2.555 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.3891, allocations: 12 kB / 1.355 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.3894, allocations: 29.92 kB / 1.355 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3912, allocations: 1.696 MB / 1.356 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3916, allocations: 0.6963 MB / 1.357 GB, free: 16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.3916, allocations: 4.438 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.3916, allocations: 27.42 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3916, allocations: 0 / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.4181, allocations: 2.881 MB / 1.36 GB, free: 13.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.171, allocations: 9.484 kB / 1.36 GB, free: 13.24 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_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_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.PlaceholderReal_res.csv. Warning: Get data of variable phNo.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phPar.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phPar.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phInp.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phInp.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.720305322902277]