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.001297/0.001297, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001404/0.001404, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.928/2.928, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.003184/0.003184, allocations: 67.88 kB / 1.109 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.9929, allocations: 168.7 MB / 1.274 GB, free: 4.605 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.003284/0.9962, allocations: 0.9326 MB / 1.275 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.998, allocations: 1.176 MB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.9982, allocations: 8 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.9983, allocations: 23.8 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.9984, allocations: 19.8 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.9989, allocations: 150.4 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.9992, allocations: 175.6 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.9993, allocations: 29.33 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.9994, allocations: 59.84 kB / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.9996, allocations: 55.73 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.9996, allocations: 20 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.9997, allocations: 31.92 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.9997, allocations: 15.94 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.9998, allocations: 55.72 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/1, allocations: 174 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1, allocations: 0 / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.694e-06/1, allocations: 0 / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.963e-06/1, allocations: 0 / 1.277 GB, free: 1.691 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.0006857/1.001, allocations: 436.7 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.001, allocations: 8.031 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/1.001, allocations: 16.89 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/1.001, allocations: 228.1 kB / 1.278 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.001, allocations: 12.31 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/1.001, allocations: 12.38 kB / 1.278 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/1.001, allocations: 76.81 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.001, allocations: 192 / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/1.001, allocations: 7.938 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.001, allocations: 7.938 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.499e-05/1.002, allocations: 23.98 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/1.002, allocations: 0.5283 MB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.806e-05/1.002, allocations: 38.5 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/1.002, allocations: 16.92 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/1.002, allocations: 3.938 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/1.003, allocations: 63.39 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/1.003, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002638/1.003, allocations: 81.64 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/1.003, allocations: 51.41 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/1.003, allocations: 185 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/1.003, allocations: 29.7 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/1.003, allocations: 108.1 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/1.003, allocations: 7.938 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/1.003, allocations: 29.7 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.003, allocations: 326.8 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/1.003, allocations: 35.98 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/1.004, allocations: 54.56 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/1.004, allocations: 96.2 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.004, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002913/1.004, allocations: 163.2 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/1.004, allocations: 41.69 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.004, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.004, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/1.004, allocations: 12 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.004, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/1.004, allocations: 35.86 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/1.004, allocations: 7.984 kB / 1.28 GB, free: 14.7 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.0001159/1.004, allocations: 121.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/1.004, allocations: 11.95 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/1.005, allocations: 8.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.005, allocations: 11.98 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.005, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.005, allocations: 3.938 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/1.005, allocations: 189.7 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.005, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/1.005, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.005, allocations: 3.938 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/1.005, allocations: 240 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.005, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.005, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/1.005, allocations: 105 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/1.005, allocations: 96.98 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/1.005, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/1.005, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/1.005, allocations: 7.938 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/1.005, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001353/1.005, allocations: 136.9 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 0 / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002141/1.005, allocations: 16 kB / 1.28 GB, free: 13.9 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.000188/1.006, allocations: 103.8 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002887/1.006, allocations: 123.3 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.006, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/1.006, allocations: 15.98 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/1.006, allocations: 19.98 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/1.007, allocations: 202.5 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/1.007, allocations: 0.7001 MB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.452e-05/1.007, allocations: 8.438 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/1.007, allocations: 11.44 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/1.007, allocations: 3.938 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of Templates: time 0.004911/1.012, allocations: 1.475 MB / 1.283 GB, free: 11.2 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 cvode -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: 9.581193541642278]