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.006225/0.006225, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001192/0.001192, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3674, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 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.002347/0.3699, allocations: 0.7384 MB / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3716, allocations: 1.151 MB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3717, allocations: 3.938 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.3719, allocations: 15.86 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.3719, allocations: 15.86 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.3725, allocations: 129.6 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.3727, allocations: 139.7 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3728, allocations: 27.98 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.3729, allocations: 39.92 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.373, allocations: 39.81 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.3731, allocations: 12 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.538e-05/0.3731, allocations: 19.98 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3732, allocations: 15.92 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.3733, allocations: 47.78 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.3734, allocations: 115.6 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3735, allocations: 0 / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3735, allocations: 0 / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3735, allocations: 0 / 1.21 GB, free: 7.184 MB / 0.9669 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.0005684/0.3741, allocations: 416.8 kB / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3741, allocations: 8.625 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.3742, allocations: 12.84 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3745, allocations: 210 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3745, allocations: 4.375 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3745, allocations: 8.375 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3747, allocations: 72.77 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3747, allocations: 192 / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3747, allocations: 7.938 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3747, allocations: 0 / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.3748, allocations: 15.98 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.3753, allocations: 497 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.3754, allocations: 26.52 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.3754, allocations: 4.859 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3754, allocations: 7.922 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.3756, allocations: 67.36 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3756, allocations: 0 / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002237/0.3758, allocations: 69.58 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3759, allocations: 51.41 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.376, allocations: 153.6 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3761, allocations: 29.7 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.3762, allocations: 100.1 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.3762, allocations: 3.906 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.3763, allocations: 33.7 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3764, allocations: 322.8 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.3765, allocations: 27.98 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.606e-05/0.3766, allocations: 46.56 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3767, allocations: 84.42 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3767, allocations: 4 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002543/0.377, allocations: 147.2 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.377, allocations: 37.69 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.377, allocations: 0 / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3771, allocations: 4 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-05/0.3771, allocations: 0 / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3771, allocations: 3.938 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3773, allocations: 27.97 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.3773, allocations: 16.08 kB / 1.213 GB, free: 4.43 MB / 0.9669 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.721e-05/0.3774, allocations: 113.8 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.3775, allocations: 7.906 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.3775, allocations: 8.25 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3775, allocations: 64 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3775, allocations: 7.938 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3775, allocations: 3.938 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3777, allocations: 177.6 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3777, allocations: 0 / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-06/0.3777, allocations: 4 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3777, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3777, allocations: 3.938 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3777, allocations: 7.922 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.3778, allocations: 7.938 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3779, allocations: 81.05 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.3779, allocations: 85.02 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.378, allocations: 0 / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.378, allocations: 4 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.378, allocations: 7.938 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.378, allocations: 3.984 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.3781, allocations: 113.7 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3781, allocations: 0 / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002159/0.3783, allocations: 16 kB / 1.213 GB, free: 3.691 MB / 0.9669 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.000152/0.3785, allocations: 103.2 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3787, allocations: 127.4 kB / 1.213 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3787, allocations: 0 / 1.213 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.3788, allocations: 8 kB / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.379, allocations: 13.53 kB / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.3794, allocations: 178.5 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3797, allocations: 0.6885 MB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.3797, allocations: 8.125 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.3797, allocations: 11.44 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of SimCode: time 1.9e-07/0.3797, allocations: 0 / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of Templates: time 0.004354/0.3841, allocations: 1.154 MB / 1.215 GB, free: 1.352 MB / 0.9669 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