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.001549/0.001549, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001764/0.001764, allocations: 183 kB / 17.34 MB, free: 5.75 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.523/2.523, allocations: 469.4 MB / 0.7428 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8337, allocations: 159.1 MB / 1.221 GB, free: 2.496 MB / 0.9356 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002532/0.8363, allocations: 0.7368 MB / 1.222 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.8379, allocations: 1.147 MB / 1.223 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.838, allocations: 4 kB / 1.223 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.8382, allocations: 23.78 kB / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.8382, allocations: 7.938 kB / 1.223 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.8388, allocations: 139.6 kB / 1.223 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.839, allocations: 131.7 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.8391, allocations: 31.97 kB / 1.223 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.083e-05/0.8392, allocations: 43.86 kB / 1.223 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.8393, allocations: 43.83 kB / 1.223 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.8394, allocations: 11.94 kB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.8395, allocations: 31.91 kB / 1.223 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.8395, allocations: 7.984 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.8396, allocations: 47.8 kB / 1.223 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.8398, allocations: 107.7 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8398, allocations: 4 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8398, allocations: 0 / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.8398, allocations: 0 / 1.223 GB, free: 15.97 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005192/0.8403, allocations: 404.8 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.8404, allocations: 12.62 kB / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.8405, allocations: 8.844 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.8407, allocations: 218.1 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.8407, allocations: 4.375 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.8408, allocations: 8.375 kB / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.8409, allocations: 68.83 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8409, allocations: 4.125 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.841, allocations: 7.922 kB / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.841, allocations: 0 / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.841, allocations: 19.94 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.8415, allocations: 496.9 kB / 1.225 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.8416, allocations: 18.58 kB / 1.225 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.8416, allocations: 16.91 kB / 1.225 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.8416, allocations: 0 / 1.225 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.8417, allocations: 63.25 kB / 1.225 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.8417, allocations: 0 / 1.225 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000192/0.8419, allocations: 65.58 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.842, allocations: 59.41 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.8421, allocations: 144.6 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.8422, allocations: 29.7 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.8422, allocations: 100.1 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.8423, allocations: 7.906 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.8423, allocations: 29.7 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.8424, allocations: 318.8 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.8425, allocations: 27.98 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/0.8426, allocations: 46.56 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.8427, allocations: 88.2 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8427, allocations: 0 / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002436/0.843, allocations: 151.2 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.843, allocations: 41.69 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.843, allocations: 0 / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.843, allocations: 240 / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-05/0.8431, allocations: 3.938 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.8431, allocations: 11.88 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.8433, allocations: 32 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.8433, allocations: 7.984 kB / 1.226 GB, free: 13.23 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 (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 9.318e-05/0.8434, allocations: 114.4 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.8434, allocations: 11.89 kB / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.8435, allocations: 12.25 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.8435, allocations: 0 / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8435, allocations: 4 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.8435, allocations: 11.92 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.8437, allocations: 173.7 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8437, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-06/0.8437, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.8437, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.8437, allocations: 4 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8437, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8437, allocations: 7.922 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.8438, allocations: 85.88 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.8439, allocations: 81.02 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.8439, allocations: 8 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.8439, allocations: 0 / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.844, allocations: 11.92 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.844, allocations: 0 / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.844, allocations: 107.3 kB / 1.226 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8441, allocations: 0 / 1.226 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002202/0.8443, allocations: 16 kB / 1.226 GB, free: 12.49 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.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.0001541/0.8444, allocations: 113.4 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.8447, allocations: 123.3 kB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8447, allocations: 0 / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.8447, allocations: 12 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.8449, allocations: 14.33 kB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.8453, allocations: 184.3 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.8456, allocations: 0.6965 MB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.8457, allocations: 7.438 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of SimCode: time 8.02e-07/0.8457, allocations: 0 / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.003024/0.8487, allocations: 1.163 MB / 1.229 GB, free: 10.12 MB / 0.9512 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/jenkins1/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