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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007228/0.007228, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3326, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002025/0.3347, allocations: 0.9336 MB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.336, allocations: 1.175 MB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.3361, allocations: 7.938 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.3362, allocations: 19.8 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.3363, allocations: 23.86 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.3367, allocations: 143.7 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.3369, allocations: 175.6 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.337, allocations: 41.34 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.3371, allocations: 59.77 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.3372, allocations: 51.77 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3372, allocations: 20 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.3373, allocations: 27.98 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.3373, allocations: 15.92 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.3374, allocations: 63.72 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3376, allocations: 175.4 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3376, allocations: 4 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3376, allocations: 0 / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3377, allocations: 0 / 1.211 GB, free: 6.711 MB / 0.9669 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.0004872/0.3381, allocations: 428.7 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3382, allocations: 12.03 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.3382, allocations: 20.83 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.3385, allocations: 216.1 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3385, allocations: 8.375 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3386, allocations: 8.375 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3387, allocations: 88.75 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3387, allocations: 192 / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3387, allocations: 11.94 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3387, allocations: 3.938 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.3388, allocations: 31.92 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.3393, allocations: 0.5359 MB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.3394, allocations: 30.58 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.3394, allocations: 12.92 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3394, allocations: 0 / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.3395, allocations: 63.39 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3395, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001963/0.3397, allocations: 81.52 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3398, allocations: 59.41 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3399, allocations: 171.2 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.34, allocations: 29.7 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.34, allocations: 108.1 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.34, allocations: 3.906 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.3401, allocations: 29.7 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.3402, allocations: 322.8 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.3403, allocations: 35.98 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.3404, allocations: 62.55 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3405, allocations: 96.27 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3405, allocations: 3.938 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002515/0.3408, allocations: 167.1 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.3408, allocations: 33.7 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3408, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3408, allocations: 4.062 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.3409, allocations: 11.98 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3409, allocations: 4 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.3411, allocations: 27.91 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3411, allocations: 4 kB / 1.213 GB, free: 3.734 MB / 0.9669 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 8.635e-05/0.3412, allocations: 125.7 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.3412, allocations: 7.906 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.3412, allocations: 20.92 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3413, allocations: 0 / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3413, allocations: 0 / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3413, allocations: 3.938 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3414, allocations: 193.6 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3414, allocations: 0 / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.3414, allocations: 4 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3414, allocations: 0 / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3415, allocations: 0 / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3415, allocations: 3.938 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3415, allocations: 0 / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.3416, allocations: 117 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3416, allocations: 81.02 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3417, allocations: 0 / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.3417, allocations: 4 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.3417, allocations: 7.922 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3417, allocations: 0 / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.3418, allocations: 132.9 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3418, allocations: 0 / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002076/0.342, allocations: 24 kB / 1.214 GB, free: 2.93 MB / 0.9669 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.0001317/0.3422, allocations: 111.2 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.3424, allocations: 131.3 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3424, allocations: 0 / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.3425, allocations: 16 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.3427, allocations: 34.48 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.343, allocations: 182.6 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3432, allocations: 0.7001 MB / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.3433, allocations: 8.422 kB / 1.215 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.3433, allocations: 11.44 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3433, allocations: 0 / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of Templates: time 0.003977/0.3473, allocations: 1.456 MB / 1.216 GB, free: 248 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) 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) Reference file matches