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.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001334/0.001334, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 62.2 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3411, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002109/0.3432, allocations: 0.9816 MB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3447, allocations: 1.197 MB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.3448, allocations: 7.938 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.3449, allocations: 15.86 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.345, allocations: 19.86 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.3454, allocations: 122.7 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3455, allocations: 151.6 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3457, allocations: 41.3 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.3457, allocations: 51.78 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.3458, allocations: 39.77 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3459, allocations: 8 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.3459, allocations: 19.98 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.346, allocations: 15.92 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.346, allocations: 47.73 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3463, allocations: 159.8 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3463, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3463, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3463, allocations: 7.938 kB / 1.055 GB, free: 5.973 MB / 0.8106 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.0005153/0.3468, allocations: 436.8 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3468, allocations: 8.031 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.3469, allocations: 20.69 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3472, allocations: 220.1 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3472, allocations: 4.375 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3472, allocations: 8.375 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3474, allocations: 88.8 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3474, allocations: 4.125 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3474, allocations: 11.94 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3474, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.3475, allocations: 23.98 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.348, allocations: 0.5283 MB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.3481, allocations: 34.5 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.3481, allocations: 12.92 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.3481, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.3483, allocations: 71.3 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3483, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.3485, allocations: 77.59 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3486, allocations: 63.33 kB / 1.056 GB, free: 4.172 MB / 0.8106 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3487, allocations: 175.9 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3488, allocations: 29.7 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.3488, allocations: 112 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.3489, allocations: 3.906 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.3489, allocations: 29.7 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3491, allocations: 326.8 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.3492, allocations: 39.92 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.3493, allocations: 58.55 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3494, allocations: 88.22 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3494, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/0.3497, allocations: 167.2 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.3497, allocations: 41.7 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3497, allocations: 4 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3498, allocations: 0 / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.3498, allocations: 0 / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3498, allocations: 4 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3501, allocations: 35.8 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.3501, allocations: 4 kB / 1.058 GB, free: 2.996 MB / 0.8106 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 9.901e-05/0.3502, allocations: 131.3 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.3502, allocations: 7.906 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.3503, allocations: 12.92 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.3503, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3503, allocations: 3.938 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3503, allocations: 3.938 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3504, allocations: 189.6 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3504, allocations: 64 / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.3505, allocations: 11.94 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3505, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.3505, allocations: 4 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3505, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3505, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.3506, allocations: 101.2 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.3507, allocations: 84.92 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3507, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.3507, allocations: 8.047 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.3508, allocations: 11.91 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3508, allocations: 4 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.761e-05/0.3509, allocations: 124 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3509, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002269/0.3511, allocations: 24 kB / 1.058 GB, free: 2.195 MB / 0.8106 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.0001505/0.3513, allocations: 107.2 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.3515, allocations: 135.3 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3515, allocations: 0 / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.3516, allocations: 20.06 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3518, allocations: 19.98 kB / 1.058 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.3522, allocations: 206.8 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.3525, allocations: 0.6965 MB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.3525, allocations: 12.42 kB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.3525, allocations: 11.44 kB / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3525, allocations: 0 / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of Templates: time 0.003924/0.3565, allocations: 1.398 MB / 1.061 GB, free: 15.55 MB / 0.8262 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