Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 217 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.996/2.996, allocations: 0.49 GB / 0.7951 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 70.69 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.00258/0.3519, allocations: 0.9477 MB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3535, allocations: 1.213 MB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.3536, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3537, allocations: 23.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.3538, allocations: 27.78 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.3543, allocations: 147.8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.3545, allocations: 167.6 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3547, allocations: 37.52 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.3548, allocations: 55.83 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3549, allocations: 55.75 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.3549, allocations: 19.94 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.355, allocations: 24 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.355, allocations: 27.91 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.714e-05/0.3551, allocations: 55.73 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3553, allocations: 167.4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3553, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3553, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3553, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 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.0005314/0.3559, allocations: 359.5 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3559, allocations: 12.03 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.356, allocations: 24.72 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.3562, allocations: 164.2 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3562, allocations: 4.375 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3563, allocations: 12.38 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3564, allocations: 84.75 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3564, allocations: 4.125 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3564, allocations: 3.938 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3564, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.3565, allocations: 31.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.357, allocations: 0.5 MB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.3571, allocations: 26.58 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.3571, allocations: 16.86 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.3571, allocations: 7.938 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/0.3572, allocations: 59.39 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3572, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000213/0.3575, allocations: 81.81 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3575, allocations: 55.34 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.3577, allocations: 171.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3577, allocations: 29.7 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.3578, allocations: 112 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.3578, allocations: 11.95 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.3578, allocations: 29.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.358, allocations: 318.8 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.3581, allocations: 35.98 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.3582, allocations: 58.55 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3583, allocations: 96.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3583, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002789/0.3586, allocations: 175.3 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.3586, allocations: 35.58 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3586, allocations: 3.984 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3586, allocations: 4 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.3587, allocations: 3.984 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3587, allocations: 4 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3589, allocations: 35.97 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3589, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 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 9.547e-05/0.359, allocations: 118.4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.359, allocations: 11.91 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.359, allocations: 17.02 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.359, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.359, allocations: 3.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.359, allocations: 7.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3592, allocations: 164.7 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.3592, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.3592, allocations: 7.938 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3592, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3592, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3592, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3592, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.3593, allocations: 104.9 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.3594, allocations: 7.906 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3594, allocations: 4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.3594, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.3594, allocations: 7.922 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3594, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.862e-05/0.3595, allocations: 124.9 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3595, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002066/0.3597, allocations: 23.94 kB / 1.332 GB, free: 11.03 MB / 1.029 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.0001394/0.3599, allocations: 111.2 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3601, allocations: 119.4 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3601, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.323e-05/0.3601, allocations: 15.94 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3604, allocations: 19.98 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.3607, allocations: 182.7 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.361, allocations: 0.704 MB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.361, allocations: 16.41 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.3611, allocations: 15.44 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3611, allocations: 0 / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of Templates: time 0.004106/0.3652, allocations: 1.481 MB / 1.335 GB, free: 8.316 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.25873483903706]