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.001015/0.001015, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01054/0.01054, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 12.06 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3769, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.001271/0.3782, allocations: 0.6388 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3801, allocations: 1.186 MB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3802, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.3804, allocations: 23.86 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.3805, allocations: 11.86 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.381, allocations: 138.9 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3812, allocations: 143.6 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3814, allocations: 45.22 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.3815, allocations: 51.77 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3816, allocations: 35.84 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3816, allocations: 4 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.3817, allocations: 15.98 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.3818, allocations: 19.86 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3819, allocations: 73.44 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.3821, allocations: 159.7 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3821, allocations: 4 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3821, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3821, allocations: 0 / 1.061 GB, free: 2.949 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.0005864/0.3827, allocations: 408.9 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3828, allocations: 8.031 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.3828, allocations: 12.84 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3831, allocations: 218.9 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3832, allocations: 12.38 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.3832, allocations: 8.375 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3834, allocations: 84.69 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3834, allocations: 192 / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3834, allocations: 7.938 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3834, allocations: 4 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.3835, allocations: 27.92 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.3841, allocations: 0.5321 MB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.3842, allocations: 30.56 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.3842, allocations: 12.92 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3843, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.3844, allocations: 63.39 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3844, allocations: 0 / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002208/0.3846, allocations: 81.53 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3847, allocations: 51.41 kB / 1.063 GB, free: 1.199 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.0001947/0.3849, allocations: 183.9 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.3849, allocations: 29.7 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.385, allocations: 108 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.385, allocations: 15.91 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.3851, allocations: 13.72 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3852, allocations: 318.8 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.3853, allocations: 39.98 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.3854, allocations: 58.55 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3856, allocations: 96.2 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3856, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002926/0.3859, allocations: 163.2 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.3859, allocations: 37.7 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3859, allocations: 3.938 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3859, allocations: 4 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.386, allocations: 3.984 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.386, allocations: 0 / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.3863, allocations: 51.94 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3863, allocations: 11.88 kB / 1.064 GB, free: 4 kB / 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 0.0001111/0.3864, allocations: 121.8 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.3864, allocations: 15.89 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.3865, allocations: 8.938 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3865, allocations: 4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3865, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3865, allocations: 4.172 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3867, allocations: 189.6 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3867, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.3867, allocations: 4 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.3867, allocations: 3.984 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3867, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3867, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3867, allocations: 4 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.3869, allocations: 104.9 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.3869, allocations: 84.92 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.387, allocations: 4 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.387, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.387, allocations: 11.92 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.387, allocations: 4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001065/0.3872, allocations: 120 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3872, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002278/0.3874, allocations: 28 kB / 1.064 GB, free: 15.21 MB / 0.8262 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.000167/0.3876, allocations: 103.2 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.3878, allocations: 131.3 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3878, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.3879, allocations: 20 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3881, allocations: 19.09 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.3886, allocations: 215.3 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3889, allocations: 0.7004 MB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.3889, allocations: 12.38 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.389, allocations: 15.44 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.389, allocations: 0 / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.004037/0.393, allocations: 1.382 MB / 1.067 GB, free: 12.58 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