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.000959/0.000959, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002374, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009948/0.0009948, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002256, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9431/0.9431, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08594/1.029, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.817/1.817, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4799/2.297, allocations: 123.3 MB / 0.728 GB, free: 5.836 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 1.623e-06/1.623e-06, allocations: 0 / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.064e-05, allocations: 6.922 kB / 0.7293 GB, free: 4.566 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.001528/0.001548, allocations: 0.9567 MB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002645, allocations: 1.223 MB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.002711, allocations: 5.031 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.614e-05/0.002787, allocations: 25.44 kB / 0.7315 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.002831, allocations: 24.06 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.003084, allocations: 139.5 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.003251, allocations: 175.8 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.00334, allocations: 30.86 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.003454, allocations: 100.4 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.003547, allocations: 35.89 kB / 0.732 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.003575, allocations: 16.53 kB / 0.732 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.003654, allocations: 32.84 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.003678, allocations: 11.94 kB / 0.732 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.003722, allocations: 31.94 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.003885, allocations: 96.62 kB / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.795e-05/0.003903, allocations: 0 / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003904, allocations: 1.438 kB / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.003924, allocations: 0 / 0.7321 GB, free: 1.707 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.0005203/0.004444, allocations: 361.7 kB / 0.7325 GB, free: 1.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.00448, allocations: 8.031 kB / 0.7325 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.004521, allocations: 13.58 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.004697, allocations: 158.2 kB / 0.7327 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.004713, allocations: 6.094 kB / 0.7327 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.004727, allocations: 12.38 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.834e-05/0.004826, allocations: 81.5 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004833, allocations: 192 / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.004842, allocations: 1.406 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.004847, allocations: 4.375 kB / 0.7328 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.004874, allocations: 19.86 kB / 0.7328 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.00521, allocations: 357.1 kB / 0.7331 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.005252, allocations: 27.48 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.005265, allocations: 9.641 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.005273, allocations: 8 kB / 0.7332 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.646e-05/0.005359, allocations: 64.2 kB / 0.7332 GB, free: 496 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.00536, allocations: 0 / 0.7332 GB, free: 496 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001049/0.005465, allocations: 53.67 kB / 0.7333 GB, free: 436 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.005494, allocations: 56.16 kB / 0.7333 GB, free: 368 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.005583, allocations: 149.8 kB / 0.7335 GB, free: 208 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.0056, allocations: 34.3 kB / 0.7335 GB, free: 168 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.005641, allocations: 109.9 kB / 0.7336 GB, free: 56 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.005652, allocations: 3.953 kB / 0.7336 GB, free: 52 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.005695, allocations: 33.69 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.005772, allocations: 318.8 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.527e-05/0.005817, allocations: 53.69 kB / 0.734 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.005862, allocations: 72.91 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.005926, allocations: 80.95 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.005928, allocations: 1.094 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001177/0.006046, allocations: 160.9 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.006078, allocations: 34.42 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.006084, allocations: 4.062 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.006094, allocations: 5.031 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.006137, allocations: 7.984 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.00614, allocations: 4.062 kB / 0.7343 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.006233, allocations: 21.72 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.006243, allocations: 4 kB / 0.7344 GB, free: 15.2 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.065e-05/0.006304, allocations: 117.8 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.006315, allocations: 9.156 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.006344, allocations: 12.34 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.006345, allocations: 240 / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.006348, allocations: 5.766 kB / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006352, allocations: 0 / 0.7345 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.269e-05/0.006424, allocations: 85.86 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006427, allocations: 0 / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.006439, allocations: 3.938 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.00645, allocations: 12.64 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.006451, allocations: 0 / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.006456, allocations: 4.578 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.006458, allocations: 4.75 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006459, allocations: 0 / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.564e-05/0.006535, allocations: 77.12 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.006546, allocations: 5.344 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.006563, allocations: 3.984 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.006583, allocations: 0 / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.006586, allocations: 4.781 kB / 0.7347 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.006616, allocations: 35.25 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006616, allocations: 0.9375 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001167/0.006733, allocations: 27.94 kB / 0.7348 GB, free: 14.75 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 0.0001164/0.00685, allocations: 85.14 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.00699, allocations: 134.6 kB / 0.735 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.006994, allocations: 8.516 kB / 0.735 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.007012, allocations: 16.8 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.007147, allocations: 29.02 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.007629, allocations: 189.6 kB / 0.7352 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.007663, allocations: 64.52 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.00769, allocations: 11.47 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.007764, allocations: 71.3 kB / 0.7353 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.007765, allocations: 0 / 0.7353 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.003378/0.01114, allocations: 1.717 MB / 0.737 GB, free: 12.46 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.733718628063798]