Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.91 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002688/1.13, allocations: 0.7469 MB / 1.273 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001814/1.132, allocations: 1.162 MB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/1.132, allocations: 3.094 kB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000183/1.132, allocations: 22.97 kB / 1.274 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/1.132, allocations: 14.27 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/1.133, allocations: 140.7 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/1.133, allocations: 121.2 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/1.133, allocations: 20.98 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/1.133, allocations: 46.56 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/1.133, allocations: 46.62 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/1.133, allocations: 9.125 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/1.134, allocations: 23.89 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/1.134, allocations: 10.91 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/1.134, allocations: 46.19 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/1.134, allocations: 111.8 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.134, allocations: 1.062 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.134, allocations: 0 / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.134, allocations: 2.578 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004971/1.134, allocations: 408.5 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.134, allocations: 13.94 kB / 1.275 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/1.135, allocations: 11.08 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/1.135, allocations: 211 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/1.135, allocations: 3.781 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/1.135, allocations: 11.41 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/1.135, allocations: 77.05 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.135, allocations: 4.188 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.135, allocations: 4.812 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.135, allocations: 1.594 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/1.135, allocations: 18.77 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/1.135, allocations: 496.5 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/1.136, allocations: 22.52 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/1.136, allocations: 11.98 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/1.136, allocations: 0.9375 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.449e-05/1.136, allocations: 59.36 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/1.136, allocations: 0.9688 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002063/1.136, allocations: 67.73 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.136, allocations: 52.44 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.136, allocations: 152.7 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/1.136, allocations: 32.36 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/1.136, allocations: 96.72 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/1.136, allocations: 5.547 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/1.136, allocations: 28.73 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/1.136, allocations: 319.3 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/1.136, allocations: 28.38 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/1.136, allocations: 57.03 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/1.137, allocations: 79.84 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.137, allocations: 0 / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002612/1.137, allocations: 153.9 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.137, allocations: 38.61 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.137, allocations: 1.438 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.137, allocations: 5.656 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.987e-05/1.137, allocations: 4.75 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.137, allocations: 6.188 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/1.137, allocations: 32.69 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/1.137, allocations: 6.688 kB / 1.277 GB, free: 4.07 MB / 0.9981 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 7.288e-05/1.137, allocations: 116.4 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/1.137, allocations: 8.312 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/1.137, allocations: 15.44 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.137, allocations: 0.9375 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.137, allocations: 4.75 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.137, allocations: 0 / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/1.137, allocations: 171.8 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.137, allocations: 0 / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-06/1.137, allocations: 4.781 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.137, allocations: 0.75 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/1.137, allocations: 3.219 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.137, allocations: 4.719 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.137, allocations: 3.938 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/1.137, allocations: 88.77 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/1.138, allocations: 84.36 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/1.138, allocations: 6.188 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/1.138, allocations: 4.875 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/1.138, allocations: 5.484 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/1.138, allocations: 2.984 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.033e-05/1.138, allocations: 109.8 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.138, allocations: 4.812 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002204/1.138, allocations: 16.61 kB / 1.277 GB, free: 3.441 MB / 0.9981 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001632/1.138, allocations: 106.1 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002525/1.138, allocations: 110.6 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.138, allocations: 0 / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/1.138, allocations: 6.078 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/1.139, allocations: 11.59 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/1.139, allocations: 186.8 kB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/1.139, allocations: 0.6906 MB / 1.279 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.573e-05/1.139, allocations: 5.891 kB / 1.279 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/1.139, allocations: 10.16 kB / 1.279 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.139, allocations: 1.062 kB / 1.279 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of Templates: time 0.005144/1.144, allocations: 1.157 MB / 1.28 GB, free: 2.285 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.299046775326133]