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.009926/0.009926, allocations: 103 kB / 15.73 MB, free: 5.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.001697/0.001697, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.359/1.359, allocations: 222.9 MB / 240.4 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.503/2.503, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 59.91 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 157.4 MB / 1.208 GB, free: 13.66 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.002758/1.021, allocations: 0.9396 MB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001827/1.022, allocations: 1.166 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/1.023, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/1.023, allocations: 27.73 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/1.023, allocations: 19.84 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/1.023, allocations: 147.3 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/1.024, allocations: 179.6 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/1.024, allocations: 45.33 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/1.024, allocations: 59.78 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/1.024, allocations: 55.75 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/1.024, allocations: 15.94 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/1.024, allocations: 31.98 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/1.024, allocations: 15.92 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/1.024, allocations: 63.72 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/1.025, allocations: 171.1 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.025, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.183e-06/1.025, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.025, allocations: 0 / 1.211 GB, free: 10.73 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.0006561/1.025, allocations: 434.8 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/1.025, allocations: 8.031 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/1.025, allocations: 12.84 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/1.026, allocations: 228.1 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/1.026, allocations: 8.375 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/1.026, allocations: 12.31 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/1.026, allocations: 80.75 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.026, allocations: 192 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/1.026, allocations: 7.938 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.026, allocations: 4 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/1.026, allocations: 27.98 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/1.027, allocations: 0.532 MB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/1.027, allocations: 30.52 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/1.027, allocations: 12.92 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/1.027, allocations: 7.984 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/1.027, allocations: 59.39 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/1.027, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002341/1.027, allocations: 81.53 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.027, allocations: 55.41 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/1.027, allocations: 172 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.027, allocations: 25.7 kB / 1.212 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/1.028, allocations: 112 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/1.028, allocations: 11.83 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/1.028, allocations: 33.7 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.028, allocations: 318.8 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/1.028, allocations: 39.98 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/1.028, allocations: 58.55 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.028, allocations: 96.2 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.028, allocations: 0 / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002929/1.028, allocations: 163.2 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.028, allocations: 37.69 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.029, allocations: 0 / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.029, allocations: 64 / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/1.029, allocations: 15.94 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.029, allocations: 4 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/1.029, allocations: 35.81 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/1.029, allocations: 8 kB / 1.213 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.0001164/1.029, allocations: 118.1 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/1.029, allocations: 11.91 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/1.029, allocations: 16.86 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/1.029, allocations: 0 / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.029, allocations: 4 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.029, allocations: 7.938 kB / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/1.029, allocations: 189.6 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.029, allocations: 0 / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/1.029, allocations: 0 / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.029, allocations: 0 / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/1.029, allocations: 7.984 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.029, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.029, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/1.029, allocations: 100.9 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/1.029, allocations: 85.02 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/1.03, allocations: 3.984 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/1.03, allocations: 0 / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/1.03, allocations: 7.938 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/1.03, allocations: 0 / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001056/1.03, allocations: 132.1 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.03, allocations: 0 / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002274/1.03, allocations: 20 kB / 1.214 GB, free: 6.957 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.0001485/1.03, allocations: 113.5 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002517/1.03, allocations: 131.4 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.03, allocations: 0 / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/1.03, allocations: 15.94 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/1.031, allocations: 25.64 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/1.031, allocations: 202.6 kB / 1.214 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/1.031, allocations: 0.6963 MB / 1.215 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.422e-05/1.031, allocations: 8.422 kB / 1.215 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/1.031, allocations: 11.44 kB / 1.215 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of SimCode: time 1.523e-06/1.031, allocations: 0 / 1.215 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of Templates: time 0.00437/1.036, allocations: 1.463 MB / 1.216 GB, free: 4.254 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/jenkins/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