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.001097/0.001097, 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.008543/0.008543, 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.399/1.399, 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.796/2.796, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003156, allocations: 15.78 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.0009116/0.3473, allocations: 473.3 kB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3487, allocations: 1.159 MB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.3488, allocations: 4 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.945e-05/0.3489, allocations: 15.86 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.34e-05/0.3489, allocations: 11.92 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.3492, allocations: 115 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3494, allocations: 127.7 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.3495, allocations: 20 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.3495, allocations: 31.91 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.3496, allocations: 39.83 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3496, allocations: 4 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.285e-05/0.3497, allocations: 19.98 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.3497, allocations: 7.938 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.3497, allocations: 61.5 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3499, allocations: 103.7 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3499, allocations: 0 / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3499, allocations: 0 / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.3499, allocations: 0 / 1.061 GB, free: 3.254 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.0003324/0.3502, allocations: 389.2 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.525e-05/0.3503, allocations: 20.02 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.3503, allocations: 8.844 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.3505, allocations: 208.1 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.3505, allocations: 4.359 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3505, allocations: 8.375 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.816e-05/0.3506, allocations: 72.77 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-06/0.3506, allocations: 192 / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3507, allocations: 7.938 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3507, allocations: 8 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.3507, allocations: 19.92 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.3511, allocations: 493 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 2.906e-05/0.3511, allocations: 18.58 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.21e-05/0.3511, allocations: 8.859 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.3512, allocations: 3.984 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.239e-05/0.3512, allocations: 63.39 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3513, allocations: 3.938 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001296/0.3514, allocations: 69.58 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3514, allocations: 51.41 kB / 1.062 GB, free: 1.617 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.000132/0.3516, allocations: 161.2 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3516, allocations: 29.7 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.3517, allocations: 100.1 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.3517, allocations: 11.89 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.3517, allocations: 13.72 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3518, allocations: 318.8 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.3519, allocations: 35.92 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.352, allocations: 46.55 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.933e-05/0.3521, allocations: 80.28 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3521, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002212/0.3523, allocations: 147.2 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.3523, allocations: 37.7 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.3524, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.3524, allocations: 4 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.091e-05/0.3524, allocations: 4.031 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3524, allocations: 7.938 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3526, allocations: 41.36 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.3526, allocations: 4 kB / 1.063 GB, free: 0.5234 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 8.68e-05/0.3527, allocations: 117.8 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.3528, allocations: 7.906 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.3528, allocations: 16.23 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3528, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3528, allocations: 3.938 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.3528, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.3529, allocations: 169.7 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3529, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-06/0.353, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.353, allocations: 3.984 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.353, allocations: 4 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.353, allocations: 7.938 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.353, allocations: 3.938 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.3531, allocations: 84.97 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.3532, allocations: 84.95 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3532, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.3532, allocations: 7.984 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3532, allocations: 4.219 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.3532, allocations: 4.062 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.3533, allocations: 115.2 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3533, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001938/0.3535, allocations: 16 kB / 1.064 GB, free: 15.78 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.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.0001215/0.3536, allocations: 103.2 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.3538, allocations: 123.3 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.3538, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.3539, allocations: 15.98 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.354, allocations: 15.8 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.3543, allocations: 167.5 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3546, allocations: 0.6965 MB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.3546, allocations: 7.984 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.3546, allocations: 11.44 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3546, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.003223/0.3579, allocations: 1.092 MB / 1.066 GB, free: 13.51 MB / 0.8262 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