Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001123/0.001123, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001762/0.002885, 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.001159/0.001159, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002661, 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.9611/0.9611, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09942/1.061, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.904/1.904, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6164/2.52, allocations: 123.3 MB / 0.728 GB, free: 5.859 MB / 0.698 GB " [Timeout remaining time 177] 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.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.589e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00162/0.001646, allocations: 0.8624 MB / 0.7302 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.188e-05/0.001738, allocations: 49.06 kB / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.00178, allocations: 0 / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.00181, allocations: 14.06 kB / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.001859, allocations: 11.05 kB / 0.7303 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.047e-05/0.0019, allocations: 23.97 kB / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.002005, allocations: 52.73 kB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.002115, allocations: 35.95 kB / 0.7304 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.002337, allocations: 49.69 kB / 0.7304 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.002379, allocations: 15.91 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.002399, allocations: 4 kB / 0.7304 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.002408, allocations: 8 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.002423, allocations: 7.938 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.002453, allocations: 20.44 kB / 0.7305 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.00255, allocations: 47.67 kB / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.002566, allocations: 0.875 kB / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.002567, allocations: 0 / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.00258, allocations: 1.438 kB / 0.7305 GB, free: 3.402 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005358/0.003116, allocations: 296.3 kB / 0.7308 GB, free: 3.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.003152, allocations: 8.031 kB / 0.7308 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.003181, allocations: 9.594 kB / 0.7308 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.00331, allocations: 137.6 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.003319, allocations: 5.062 kB / 0.7309 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.003329, allocations: 8.375 kB / 0.731 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.00346, allocations: 84.14 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.003466, allocations: 192 / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003474, allocations: 384 / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.003479, allocations: 4.375 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.003511, allocations: 27.8 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.003872, allocations: 0.5058 MB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.003934, allocations: 165.6 kB / 0.7317 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.003955, allocations: 80.86 kB / 0.7318 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.003973, allocations: 75.28 kB / 0.7319 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.004074, allocations: 114.5 kB / 0.732 GB, free: 1.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.004075, allocations: 1.188 kB / 0.732 GB, free: 1.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.296e-05/0.004128, allocations: 33.69 kB / 0.732 GB, free: 1.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.004171, allocations: 126.7 kB / 0.7321 GB, free: 1.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.004261, allocations: 149.5 kB / 0.7323 GB, free: 1.457 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.004268, allocations: 25.7 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.004317, allocations: 119.8 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.004324, allocations: 12.55 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.004356, allocations: 26.34 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.004433, allocations: 322.8 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.004444, allocations: 13.73 kB / 0.7328 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.004474, allocations: 54.81 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.553e-05/0.00453, allocations: 64.91 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.004532, allocations: 0 / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.052e-05/0.004623, allocations: 79.33 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004635, allocations: 4.531 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.00464, allocations: 0.9375 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.004648, allocations: 4 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.004704, allocations: 15.94 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.00471, allocations: 9.203 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.004735, allocations: 7.938 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.004739, allocations: 4 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.277e-05/0.004812, allocations: 194.7 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.004851, allocations: 104.9 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.004891, allocations: 116.8 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/0.004933, allocations: 185.3 kB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003362/0.005269, allocations: 180.3 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/0.005312, allocations: 180.2 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.005447, allocations: 338.4 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/0.005471, allocations: 101 kB / 0.7343 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.0055, allocations: 108.9 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.005537, allocations: 109.5 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.306e-05/0.00558, allocations: 184.3 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.005624, allocations: 185.3 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.095e-05/0.005665, allocations: 176.3 kB / 0.7351 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.081e-05/0.005706, allocations: 188.4 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.511e-05/0.005801, allocations: 308.6 kB / 0.7355 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.00585, allocations: 184.2 kB / 0.7357 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.21e-05/0.005892, allocations: 102.2 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.005934, allocations: 184.2 kB / 0.736 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.005959, allocations: 105 kB / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.005986, allocations: 26.72 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005986, allocations: 1.031 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001311/0.006117, allocations: 15.89 kB / 0.7361 GB, free: 13.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001073/0.006224, allocations: 162 kB / 0.7363 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.006297, allocations: 28.73 kB / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.006302, allocations: 1.125 kB / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.006302, allocations: 0 / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.006493, allocations: 467.6 kB / 0.7368 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.006713, allocations: 233.2 kB / 0.737 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.155e-05/0.006745, allocations: 60.52 kB / 0.737 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.006782, allocations: 4.734 kB / 0.737 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.006814, allocations: 55.38 kB / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.006814, allocations: 2.531 kB / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.002228/0.009042, allocations: 341.6 kB / 0.7374 GB, free: 11.89 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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: 5.058333702385426]