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.0008503/0.0008503, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008147/0.0008147, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8797/0.8797, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.721/1.721, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: 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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.204e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 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.001381/0.001403, allocations: 0.8897 MB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.002477, allocations: 1.198 MB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.002546, allocations: 7.938 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.002666, allocations: 23.67 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.002708, allocations: 19.86 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.003074, allocations: 146.7 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.003244, allocations: 175.5 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003351, allocations: 29.52 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.003437, allocations: 91.81 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.003521, allocations: 39.88 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.003545, allocations: 16 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.003597, allocations: 23.98 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.003623, allocations: 19.92 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.003672, allocations: 43.91 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.003869, allocations: 183.4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003872, allocations: 3.984 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003874, allocations: 4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003877, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 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.0004116/0.004289, allocations: 363.5 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.004323, allocations: 9.344 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.004367, allocations: 16.84 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.004555, allocations: 163.4 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.004569, allocations: 4.375 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.004586, allocations: 12.38 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.004697, allocations: 80.75 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.004709, allocations: 4.188 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004718, allocations: 384 / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004723, allocations: 4.375 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.123e-05/0.004775, allocations: 27.92 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.00512, allocations: 452.7 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.005173, allocations: 34.52 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.00519, allocations: 8.922 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.005199, allocations: 0 / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.63e-05/0.005285, allocations: 71.38 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.005286, allocations: 0 / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001649/0.005451, allocations: 77.58 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.005481, allocations: 59.41 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.005576, allocations: 156.7 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.005593, allocations: 29.7 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.005644, allocations: 108 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.005657, allocations: 7.953 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.005704, allocations: 29.7 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.005779, allocations: 326.8 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.00585, allocations: 65.69 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.005918, allocations: 100.1 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.005995, allocations: 96.2 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005997, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001887/0.006186, allocations: 205 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.006213, allocations: 37.69 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006218, allocations: 0 / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.00623, allocations: 4 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.006273, allocations: 0 / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006277, allocations: 0 / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.006391, allocations: 39.98 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.006404, allocations: 7.984 kB / 1.006 GB, free: 7.305 MB / 0.9636 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 6.537e-05/0.006469, allocations: 122 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.006476, allocations: 7.953 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.006498, allocations: 16.27 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.006501, allocations: 0 / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006504, allocations: 4 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.006509, allocations: 3.984 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.318e-05/0.006582, allocations: 129.2 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006584, allocations: 4 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-06/0.006591, allocations: 4 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.006592, allocations: 0 / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.006596, allocations: 0 / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006598, allocations: 4 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006599, allocations: 0 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.937e-05/0.006679, allocations: 97 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.006692, allocations: 11.89 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.006702, allocations: 0 / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.006713, allocations: 0 / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.006736, allocations: 3.984 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.006739, allocations: 4 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.00679, allocations: 119.2 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00679, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001415/0.006932, allocations: 23.95 kB / 1.007 GB, free: 6.699 MB / 0.9636 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.0002397/0.007171, allocations: 103.2 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.007337, allocations: 153.1 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007339, allocations: 3.938 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.007363, allocations: 19.94 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.007525, allocations: 35.91 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.0078, allocations: 207 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.007846, allocations: 80.31 kB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.007864, allocations: 12.5 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.007864, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of Templates: time 0.002026/0.009891, allocations: 1.443 MB / 1.009 GB, free: 4.59 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.603179159574211]