Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, 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.001139/0.00114, allocations: 197.2 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.17 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3465, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001995/0.3485, allocations: 0.8012 MB / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3499, allocations: 1.166 MB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.3499, allocations: 7.938 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.3501, allocations: 15.86 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.762e-05/0.3501, allocations: 7.922 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.3505, allocations: 115 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3507, allocations: 123.7 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3508, allocations: 23.98 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.3508, allocations: 35.8 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.3509, allocations: 43.81 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.351, allocations: 8 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.3511, allocations: 19.98 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.3511, allocations: 4 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.3512, allocations: 39.78 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.3513, allocations: 111.7 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3513, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3513, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3514, allocations: 0 / 1.055 GB, free: 6.309 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005319/0.3519, allocations: 409.2 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3519, allocations: 12.03 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.352, allocations: 12.84 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3522, allocations: 204.2 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3523, allocations: 4.375 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3523, allocations: 12.25 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3524, allocations: 64.83 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3524, allocations: 192 / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3525, allocations: 15.88 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3525, allocations: 7.984 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.3525, allocations: 19.92 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.353, allocations: 496.9 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.353, allocations: 18.58 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.3531, allocations: 12.92 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.3531, allocations: 0 / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.3532, allocations: 55.39 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3532, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001944/0.3534, allocations: 73.52 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3535, allocations: 51.41 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3536, allocations: 155.6 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3537, allocations: 29.7 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.3538, allocations: 108 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.3538, allocations: 4 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.3538, allocations: 29.7 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.354, allocations: 318.8 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.354, allocations: 27.98 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.3541, allocations: 50.62 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3542, allocations: 84.2 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3542, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002367/0.3545, allocations: 151.2 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.3545, allocations: 34.78 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3545, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3546, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-05/0.3546, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3546, allocations: 12.03 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3548, allocations: 31.88 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3549, allocations: 7.984 kB / 1.057 GB, free: 3.559 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001/0.355, allocations: 117.8 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.355, allocations: 7.906 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.355, allocations: 8.25 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.355, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.355, allocations: 11.92 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.355, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3552, allocations: 177.6 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3552, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-06/0.3552, allocations: 3.938 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3552, allocations: 0 / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3552, allocations: 7.984 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3552, allocations: 0 / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3552, allocations: 3.938 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.3553, allocations: 89.25 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.3554, allocations: 81.02 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3554, allocations: 3.938 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.3554, allocations: 4 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3554, allocations: 7.922 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3554, allocations: 0 / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.904e-05/0.3555, allocations: 113.3 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3555, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002103/0.3557, allocations: 19.98 kB / 1.058 GB, free: 2.816 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001335/0.3559, allocations: 103.2 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.3561, allocations: 119.4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3561, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.3561, allocations: 11.94 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3563, allocations: 11.98 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.3567, allocations: 172.8 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3569, allocations: 0.6926 MB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.3569, allocations: 4 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.357, allocations: 7.438 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.357, allocations: 0 / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of Templates: time 0.003522/0.3605, allocations: 1.109 MB / 1.06 GB, free: 0.5391 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches