Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001419/0.001419, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8067, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002738/0.8095, allocations: 0.9259 MB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.8112, allocations: 1.17 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.8114, allocations: 7.938 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.8116, allocations: 23.8 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.8116, allocations: 19.8 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.8122, allocations: 158.8 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.8125, allocations: 175.6 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.8127, allocations: 41.34 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.8128, allocations: 55.83 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.8129, allocations: 55.77 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.813, allocations: 16 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.352e-05/0.8131, allocations: 23.98 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.8131, allocations: 23.86 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.01e-05/0.8132, allocations: 59.72 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.8135, allocations: 171.2 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8135, allocations: 4 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8135, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.016e-06/0.8135, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006256/0.8141, allocations: 430.7 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8142, allocations: 16.03 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.8142, allocations: 20.83 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.8145, allocations: 216 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.8146, allocations: 4.375 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.8146, allocations: 16.31 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.8148, allocations: 80.81 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8148, allocations: 4.188 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8148, allocations: 3.938 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.8148, allocations: 0 / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.8149, allocations: 31.92 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.8155, allocations: 0.5398 MB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.364e-05/0.8156, allocations: 30.58 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.8156, allocations: 8.922 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.8156, allocations: 0 / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.8158, allocations: 75.31 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8158, allocations: 0 / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002085/0.816, allocations: 77.58 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.816, allocations: 59.41 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.8162, allocations: 164 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.8163, allocations: 33.7 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.8163, allocations: 108 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.8164, allocations: 7.844 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.8164, allocations: 33.7 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8166, allocations: 322.8 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.8167, allocations: 31.98 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.8168, allocations: 66.48 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.8169, allocations: 88.27 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.8169, allocations: 0 / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002811/0.8172, allocations: 163.2 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.8173, allocations: 37.7 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8173, allocations: 64 / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.8173, allocations: 8 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.8174, allocations: 7.922 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8174, allocations: 7.938 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.8176, allocations: 31.81 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.8176, allocations: 4 kB / 1.214 GB, free: 7.746 MB / 0.9356 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001048/0.8177, allocations: 121.8 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.8178, allocations: 7.906 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.8178, allocations: 24.86 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.8178, allocations: 0 / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8178, allocations: 4.062 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8178, allocations: 3.938 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.818, allocations: 189.6 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.818, allocations: 0 / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.818, allocations: 4 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.818, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.8181, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8181, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8181, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.8182, allocations: 108.8 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.8183, allocations: 81.02 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.8183, allocations: 4 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.8183, allocations: 4 kB / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.8184, allocations: 7.922 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8184, allocations: 0 / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.33e-05/0.8185, allocations: 132.2 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8185, allocations: 4 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002217/0.8187, allocations: 20 kB / 1.215 GB, free: 6.941 MB / 0.9356 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.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001654/0.8189, allocations: 103.2 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.8191, allocations: 135.3 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8191, allocations: 0 / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.8192, allocations: 16 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.8194, allocations: 20.11 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.8198, allocations: 220.2 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.8203, allocations: 0.6963 MB / 1.216 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.8203, allocations: 15.38 kB / 1.216 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8203, allocations: 0 / 1.216 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of Templates: time 0.003426/0.8238, allocations: 1.47 MB / 1.217 GB, free: 4.211 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches