Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_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.008395/0.008395, allocations: 100.3 kB / 15.73 MB, free: 5.988 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.001891/0.001891, allocations: 188 kB / 16.67 MB, free: 5.91 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 71.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9713/0.9729, allocations: 159.1 MB / 1.221 GB, free: 2.273 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.002421/0.9753, allocations: 0.9323 MB / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.9768, allocations: 1.174 MB / 1.223 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.9769, allocations: 4 kB / 1.223 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.9771, allocations: 23.73 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.9772, allocations: 23.8 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.9777, allocations: 146.1 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.9779, allocations: 167.6 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.978, allocations: 33.34 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.9781, allocations: 55.78 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.9782, allocations: 59.75 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.9783, allocations: 12 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.9783, allocations: 27.98 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.9784, allocations: 15.92 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.9785, allocations: 55.8 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.9787, allocations: 180.2 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.9787, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9787, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9787, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9512 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.0006409/0.9794, allocations: 440.7 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.9794, allocations: 8.625 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.9795, allocations: 12.89 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.9798, allocations: 223 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.9798, allocations: 12.36 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.9799, allocations: 4.375 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.98, allocations: 89.66 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.98, allocations: 192 / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.98, allocations: 11.94 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.98, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.9801, allocations: 24 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.9807, allocations: 0.5361 MB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.741e-05/0.9807, allocations: 26.52 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.9808, allocations: 16.86 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.9808, allocations: 0 / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.9809, allocations: 67.38 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9809, allocations: 0 / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002155/0.9811, allocations: 85.72 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.9812, allocations: 55.41 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.9813, allocations: 175.2 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.9814, allocations: 29.7 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.9815, allocations: 116 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.9815, allocations: 7.953 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.9815, allocations: 33.69 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9817, allocations: 318.8 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.9817, allocations: 43.97 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.9818, allocations: 54.56 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.982, allocations: 92.2 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.982, allocations: 0 / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002781/0.9822, allocations: 171.3 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.9823, allocations: 41.75 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9823, allocations: 4 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9823, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.9824, allocations: 4 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9824, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.9826, allocations: 31.86 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.9826, allocations: 4 kB / 1.226 GB, free: 12.39 MB / 0.9512 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.0001194/0.9827, allocations: 130.3 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.9827, allocations: 11.89 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.9827, allocations: 12.94 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.9827, allocations: 0 / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9827, allocations: 0 / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.9827, allocations: 3.938 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.9829, allocations: 189.6 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9829, allocations: 4.062 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.9829, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9829, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.9829, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.9829, allocations: 11.98 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9829, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.9831, allocations: 96.97 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.9831, allocations: 81.06 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.9831, allocations: 7.938 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.9832, allocations: 3.984 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.9832, allocations: 7.938 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.9832, allocations: 7.938 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001055/0.9833, allocations: 124 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9833, allocations: 3.938 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002178/0.9835, allocations: 24 kB / 1.227 GB, free: 11.58 MB / 0.9512 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.0001539/0.9837, allocations: 103.2 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.9839, allocations: 119.4 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9839, allocations: 0 / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.984, allocations: 15.94 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.9842, allocations: 20.11 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.9846, allocations: 194.4 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.9849, allocations: 0.6963 MB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.9849, allocations: 12.42 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.9849, allocations: 15.44 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.9849, allocations: 0 / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.004212/0.9892, allocations: 1.478 MB / 1.229 GB, free: 8.879 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches