Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 201.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8421, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.002519/0.8446, allocations: 0.9411 MB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.8464, allocations: 1.176 MB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.8464, allocations: 11.88 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.8466, allocations: 23.8 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.8467, allocations: 23.78 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.8472, allocations: 151.6 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.8475, allocations: 171.6 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.8477, allocations: 37.33 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.8478, allocations: 51.84 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.8479, allocations: 55.75 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.848, allocations: 16 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.8481, allocations: 27.98 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.8481, allocations: 19.86 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.8482, allocations: 55.78 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.8485, allocations: 178 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8485, allocations: 0 / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8485, allocations: 0 / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.8485, allocations: 3.938 kB / 1.277 GB, free: 1.504 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007632/0.8492, allocations: 436.7 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8493, allocations: 8.031 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.8494, allocations: 12.89 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.8497, allocations: 232.1 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.8497, allocations: 4.375 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.8497, allocations: 12.38 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.8499, allocations: 76.81 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8499, allocations: 192 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8499, allocations: 7.938 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8499, allocations: 0 / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.911e-05/0.85, allocations: 27.92 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.8506, allocations: 0.5361 MB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.8507, allocations: 26.62 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.8507, allocations: 20.86 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.8507, allocations: 3.984 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.8508, allocations: 67.33 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8508, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002311/0.8511, allocations: 81.59 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.8511, allocations: 55.34 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.8513, allocations: 183.2 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.8514, allocations: 25.7 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.8514, allocations: 108.1 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.8515, allocations: 15.94 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.8515, allocations: 29.7 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8517, allocations: 322.8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.8518, allocations: 35.98 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/0.8519, allocations: 58.5 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.852, allocations: 96.33 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.852, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003086/0.8523, allocations: 167.2 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.8524, allocations: 37.69 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8524, allocations: 0 / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.8524, allocations: 4 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.8525, allocations: 3.938 kB / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.8525, allocations: 0 / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.8527, allocations: 43.92 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.8527, allocations: 7.984 kB / 1.28 GB, free: 14.51 MB / 0.9825 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.0001191/0.8528, allocations: 121.8 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.8528, allocations: 11.89 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.8529, allocations: 12.94 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.8529, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8529, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8529, allocations: 3.938 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.8531, allocations: 193.6 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8531, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.8531, allocations: 7.984 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.8531, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.8531, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8531, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8531, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.8532, allocations: 100.9 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.8533, allocations: 89.05 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.8533, allocations: 4 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.8533, allocations: 0 / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.8534, allocations: 11.88 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.8534, allocations: 4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001069/0.8535, allocations: 128 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8535, allocations: 0 / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002262/0.8537, allocations: 16 kB / 1.28 GB, free: 13.72 MB / 0.9825 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.0001624/0.8539, allocations: 107.8 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.8541, allocations: 123.3 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8541, allocations: 0 / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.8542, allocations: 19.98 kB / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.8544, allocations: 13.72 kB / 1.28 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.8548, allocations: 198.9 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.8552, allocations: 0.7002 MB / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.8552, allocations: 16.36 kB / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.8552, allocations: 11.44 kB / 1.281 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.8552, allocations: 0 / 1.281 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.004338/0.8595, allocations: 1.463 MB / 1.283 GB, free: 11.02 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.639808073174208]