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.001142/0.001142, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.002795, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007094/0.0007094, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009754/0.001685, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.953/0.953, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08303/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.85/1.85, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4528/2.303, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/2.026e-05, allocations: 4.281 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.001652/0.001673, allocations: 0.9612 MB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.002841, allocations: 1.228 MB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.00291, allocations: 3.938 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.966e-05/0.002989, allocations: 27.03 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.003037, allocations: 22.72 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.00335, allocations: 139.6 kB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.003547, allocations: 177.4 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.003636, allocations: 22.92 kB / 0.7321 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.003748, allocations: 95.84 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.003831, allocations: 41.3 kB / 0.7323 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.003854, allocations: 16 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.916e-05/0.003923, allocations: 27.98 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.003947, allocations: 15.92 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.003986, allocations: 34.72 kB / 0.7324 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.004133, allocations: 95.69 kB / 0.7325 GB, free: 1.562 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.004143, allocations: 0 / 0.7325 GB, free: 1.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004144, allocations: 0 / 0.7325 GB, free: 1.562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.004156, allocations: 0 / 0.7325 GB, free: 1.562 MB / 0.698 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.0004338/0.00459, allocations: 357.8 kB / 0.7328 GB, free: 1.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.004625, allocations: 8.031 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.004665, allocations: 17.42 kB / 0.7328 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.004826, allocations: 155 kB / 0.733 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.004841, allocations: 13.53 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.004858, allocations: 8.375 kB / 0.733 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/0.004948, allocations: 85.44 kB / 0.7331 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004956, allocations: 0.6875 kB / 0.7331 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004964, allocations: 4.375 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004969, allocations: 6.094 kB / 0.7331 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.004993, allocations: 19.86 kB / 0.7331 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.005251, allocations: 356.5 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.005291, allocations: 31.45 kB / 0.7335 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.105e-05/0.005302, allocations: 8.797 kB / 0.7335 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.005309, allocations: 4.562 kB / 0.7335 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.07e-05/0.005389, allocations: 68.95 kB / 0.7336 GB, free: 336 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.00539, allocations: 0 / 0.7336 GB, free: 336 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001093/0.0055, allocations: 57.66 kB / 0.7336 GB, free: 272 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.005526, allocations: 55.41 kB / 0.7337 GB, free: 204 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.005601, allocations: 151.6 kB / 0.7338 GB, free: 44 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.005615, allocations: 29.7 kB / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.005666, allocations: 108 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.005677, allocations: 9.203 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.005718, allocations: 29.69 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.005785, allocations: 322.8 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.005827, allocations: 51.44 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.454e-05/0.005872, allocations: 72.2 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.005926, allocations: 80.23 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005928, allocations: 1.219 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001149/0.006043, allocations: 160.9 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.006073, allocations: 38.34 kB / 0.7347 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006078, allocations: 7.938 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.006088, allocations: 1.125 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.006129, allocations: 7.938 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.006131, allocations: 0 / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.00623, allocations: 21.31 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.006243, allocations: 7.984 kB / 0.7347 GB, free: 15.04 MB / 0.7136 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 6.037e-05/0.006303, allocations: 110.5 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.006314, allocations: 12.78 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.006339, allocations: 12.33 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00634, allocations: 0.9062 kB / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.006342, allocations: 0 / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006346, allocations: 0 / 0.7348 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.492e-05/0.00643, allocations: 87.03 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.006431, allocations: 0 / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-06/0.00644, allocations: 0 / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.006453, allocations: 16.5 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006454, allocations: 0 / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.006457, allocations: 1.562 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.006459, allocations: 4.141 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006461, allocations: 7.984 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.837e-05/0.006519, allocations: 77.03 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.006529, allocations: 5.188 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.00654, allocations: 0 / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.006557, allocations: 0 / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006561, allocations: 8 kB / 0.735 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002841/0.006845, allocations: 30.08 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006845, allocations: 0 / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001151/0.00696, allocations: 23.94 kB / 0.7351 GB, free: 14.6 MB / 0.7136 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 9.06e-05/0.007051, allocations: 89.64 kB / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.007174, allocations: 142.8 kB / 0.7353 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.007179, allocations: 4 kB / 0.7353 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.007197, allocations: 12.86 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.007345, allocations: 141.2 kB / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.00775, allocations: 188.6 kB / 0.7356 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.738e-05/0.007778, allocations: 65.27 kB / 0.7357 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.0078, allocations: 8.719 kB / 0.7357 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.007871, allocations: 71.36 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of SimCode: time 6.12e-07/0.007872, allocations: 2.969 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.002978/0.01085, allocations: 1.692 MB / 0.7374 GB, free: 12.2 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.74434223677963]