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.001518/0.001518, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001165/0.001165, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.35/1.35, allocations: 222.9 MB / 241.1 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.69/2.69, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 55.91 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7362, allocations: 159.1 MB / 1.221 GB, free: 2.445 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.002134/0.7383, allocations: 0.7349 MB / 1.222 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.7399, allocations: 1.151 MB / 1.223 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.74, allocations: 7.938 kB / 1.223 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.7401, allocations: 19.86 kB / 1.223 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.7402, allocations: 11.86 kB / 1.223 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.7407, allocations: 134.9 kB / 1.223 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.7409, allocations: 143.7 kB / 1.223 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.741, allocations: 24 kB / 1.223 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.7411, allocations: 43.89 kB / 1.223 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.7412, allocations: 43.83 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.7412, allocations: 8 kB / 1.223 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.7413, allocations: 23.92 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.7413, allocations: 15.92 kB / 1.223 GB, free: 84 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.7414, allocations: 47.78 kB / 1.223 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.7416, allocations: 107.6 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.7416, allocations: 4 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7416, allocations: 4 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.7417, allocations: 0 / 1.223 GB, free: 15.92 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.0005208/0.7422, allocations: 412.6 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.7422, allocations: 8.625 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.7423, allocations: 8.844 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.7426, allocations: 206.2 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7426, allocations: 8.375 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.7426, allocations: 8.375 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.7427, allocations: 80.73 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7428, allocations: 192 / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.7428, allocations: 3.938 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.7428, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.03e-05/0.7428, allocations: 15.98 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.7433, allocations: 497 kB / 1.225 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.7434, allocations: 18.58 kB / 1.225 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.7434, allocations: 16.86 kB / 1.225 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.7434, allocations: 0 / 1.225 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.7435, allocations: 63.3 kB / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.7435, allocations: 0 / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002456/0.7438, allocations: 61.59 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.7438, allocations: 55.41 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.744, allocations: 157.6 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.744, allocations: 29.7 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.7441, allocations: 100.1 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.7441, allocations: 3.906 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.7442, allocations: 33.7 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7443, allocations: 318.8 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.7443, allocations: 27.98 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.7444, allocations: 46.56 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.7445, allocations: 80.2 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7445, allocations: 8 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002483/0.7448, allocations: 147.4 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.7448, allocations: 41.69 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7449, allocations: 0 / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7449, allocations: 0 / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.565e-05/0.7449, allocations: 0 / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7449, allocations: 7.938 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.7451, allocations: 35.83 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.7452, allocations: 8.094 kB / 1.226 GB, free: 13.18 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.606e-05/0.7453, allocations: 114.4 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.7453, allocations: 11.89 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.7453, allocations: 12.25 kB / 1.226 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7453, allocations: 0 / 1.226 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7453, allocations: 0 / 1.226 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.7454, allocations: 88.95 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.7454, allocations: 0 / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.7454, allocations: 4.047 kB / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.7455, allocations: 8 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001121/0.7456, allocations: 132.9 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001668/0.7457, allocations: 235.6 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.525e-05/0.7458, allocations: 4 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001404/0.7459, allocations: 118.1 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of Backend: time 4.01e-07/0.7459, allocations: 0 / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.7465, allocations: 201.7 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005319/0.747, allocations: 0.6047 MB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of Templates: time 0.003688/0.7507, allocations: 1.174 MB / 1.228 GB, free: 10.39 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