Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.008226/0.008226, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.00171/0.00171, allocations: 196 kB / 16.68 MB, free: 5.93 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 67.91 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.954/0.9556, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.002398/0.958, allocations: 0.7443 MB / 1.221 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.96, allocations: 1.151 MB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.9602, allocations: 7.938 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.9604, allocations: 19.8 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.9605, allocations: 15.86 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.9612, allocations: 130.8 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.9615, allocations: 131.8 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.9617, allocations: 19.98 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.9618, allocations: 47.81 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.962, allocations: 35.83 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.962, allocations: 12 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.9621, allocations: 23.98 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.9621, allocations: 7.938 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.857e-05/0.9622, allocations: 47.77 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.9625, allocations: 115.4 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9625, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9625, allocations: 4 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.9625, allocations: 0 / 1.223 GB, free: 15.61 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.0007761/0.9633, allocations: 413.5 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.9634, allocations: 8.625 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.9634, allocations: 16.84 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.9638, allocations: 204.2 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.9638, allocations: 4.375 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.9638, allocations: 4.375 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.964, allocations: 84.73 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.964, allocations: 192 / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.964, allocations: 7.938 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.964, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.9641, allocations: 19.97 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.9646, allocations: 497 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.411e-05/0.9646, allocations: 22.52 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.9647, allocations: 8.797 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.9647, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.9648, allocations: 63.41 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.9648, allocations: 4 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002115/0.965, allocations: 65.64 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.965, allocations: 55.34 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.9652, allocations: 151.8 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.9652, allocations: 29.7 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.9653, allocations: 96.14 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.9653, allocations: 7.938 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.9653, allocations: 29.7 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9655, allocations: 326.8 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.9655, allocations: 31.97 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.9656, allocations: 46.56 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.9657, allocations: 80.2 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9657, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002584/0.966, allocations: 155.2 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.966, allocations: 33.7 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.966, allocations: 4 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.966, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.181e-05/0.9661, allocations: 8.047 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9661, allocations: 7.938 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.9663, allocations: 31.86 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.9663, allocations: 4 kB / 1.225 GB, free: 12.86 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 0.0001036/0.9664, allocations: 124.9 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.9664, allocations: 7.953 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.9665, allocations: 12.23 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9665, allocations: 0 / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.9665, allocations: 3.938 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9665, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.9667, allocations: 177.6 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9667, allocations: 0 / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.9667, allocations: 3.938 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9667, allocations: 0 / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.9667, allocations: 8 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.9667, allocations: 3.938 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9667, allocations: 3.938 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.9668, allocations: 82.22 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.9669, allocations: 85.09 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.9669, allocations: 3.984 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.9669, allocations: 4 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.967, allocations: 7.938 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.967, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.9671, allocations: 116.4 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5e-08/0.9671, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002309/0.9673, allocations: 16 kB / 1.226 GB, free: 12.12 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.000267/0.9676, allocations: 103.2 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.9679, allocations: 107.3 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9679, allocations: 4.188 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.9679, allocations: 15.98 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.9682, allocations: 7.938 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.9689, allocations: 172.3 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.9692, allocations: 0.6885 MB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.9693, allocations: 7.984 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.9693, allocations: 19.44 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of SimCode: time 8.91e-07/0.9693, allocations: 0 / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.004739/0.974, allocations: 1.152 MB / 1.228 GB, free: 9.797 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches