Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001849/0.001849, allocations: 105 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.002145/0.002145, allocations: 210.4 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.549/1.549, allocations: 230.5 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [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.003192/0.003192, allocations: 72.25 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.461, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.002756/0.4637, allocations: 0.9377 MB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.4661, allocations: 1.205 MB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.4662, allocations: 7.938 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.4663, allocations: 19.8 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.4664, allocations: 19.8 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.4669, allocations: 141 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.4671, allocations: 171.6 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4672, allocations: 37.33 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.4673, allocations: 63.77 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4674, allocations: 55.75 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.4674, allocations: 16 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.4675, allocations: 27.98 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.4675, allocations: 11.94 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.4676, allocations: 63.64 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.4679, allocations: 163.6 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4679, allocations: 3.984 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4679, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4679, allocations: 4 kB / 1.324 GB, free: 15.89 MB / 1.029 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.0006345/0.4686, allocations: 440.6 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4686, allocations: 11.98 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.4687, allocations: 16.84 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.4691, allocations: 222.2 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4691, allocations: 4.375 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.4691, allocations: 12.38 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.4693, allocations: 84.75 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4693, allocations: 4.125 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.4693, allocations: 7.938 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4693, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-05/0.4694, allocations: 27.92 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.4703, allocations: 0.5361 MB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.4704, allocations: 26.58 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.4704, allocations: 16.91 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.4704, allocations: 3.938 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.4706, allocations: 63.38 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.4706, allocations: 4 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002489/0.4708, allocations: 81.58 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.4709, allocations: 51.41 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4711, allocations: 183.9 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4711, allocations: 25.7 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.4712, allocations: 104.1 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.4712, allocations: 11.89 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.4713, allocations: 29.7 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4715, allocations: 330.8 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/0.4716, allocations: 35.98 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.4717, allocations: 54.56 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4719, allocations: 92.2 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4719, allocations: 0 / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003741/0.4722, allocations: 175.2 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.4723, allocations: 37.69 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4723, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4723, allocations: 4 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.4724, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4724, allocations: 7.938 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.4726, allocations: 31.91 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.4726, allocations: 12.05 kB / 1.327 GB, free: 12.9 MB / 1.029 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.0001275/0.4728, allocations: 121.9 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.4728, allocations: 11.91 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.4728, allocations: 12.94 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4728, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4728, allocations: 3.984 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4728, allocations: 3.938 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.473, allocations: 185.9 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.473, allocations: 3.984 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.473, allocations: 4 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4731, allocations: 3.938 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4731, allocations: 7.984 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4731, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.921e-05/0.4731, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4733, allocations: 100.9 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.4733, allocations: 93 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4733, allocations: 0 / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.4734, allocations: 0 / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.4734, allocations: 7.938 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4734, allocations: 4 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001727/0.4736, allocations: 128 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4736, allocations: 0 / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002305/0.4738, allocations: 23.92 kB / 1.327 GB, free: 12.1 MB / 1.029 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.000188/0.474, allocations: 107.2 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.4743, allocations: 119.3 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4743, allocations: 4 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.4744, allocations: 16.11 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.4746, allocations: 19.98 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.4751, allocations: 190.1 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.4757, allocations: 0.6963 MB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.4757, allocations: 12.42 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.4758, allocations: 11.44 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4758, allocations: 0 / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of Templates: time 0.005506/0.4813, allocations: 1.477 MB / 1.33 GB, free: 9.406 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.350081413052976]