Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001412/0.001412, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001485/0.001485, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.9197/0.9197, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.041/2.041, allocations: 429.5 MB / 0.6732 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.629e-05, allocations: 8.391 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001659/0.001686, allocations: 0.8346 MB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001264/0.001812, allocations: 44.33 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.001858, allocations: 1.031 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.001899, allocations: 7.875 kB / 0.879 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.001982, allocations: 20.67 kB / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.668e-05/0.002029, allocations: 21.09 kB / 0.8791 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.00213, allocations: 59.84 kB / 0.8791 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.002258, allocations: 23.98 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.002361, allocations: 48.86 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.002401, allocations: 15.92 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.002422, allocations: 5.125 kB / 0.8792 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.002429, allocations: 4 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.00245, allocations: 19.91 kB / 0.8793 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.002479, allocations: 16.91 kB / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.717e-05/0.002576, allocations: 43.77 kB / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.002579, allocations: 0.5 kB / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.153e-06/0.00258, allocations: 0 / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.002587, allocations: 5.875 kB / 0.8793 GB, free: 5.148 MB / 0.8386 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.0003813/0.002969, allocations: 404.2 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.00301, allocations: 12.03 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.003056, allocations: 16.88 kB / 0.8797 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.003194, allocations: 137.8 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.003208, allocations: 384 / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.003221, allocations: 12.38 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.003352, allocations: 85.55 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.003359, allocations: 1.281 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.003369, allocations: 384 / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.003378, allocations: 4.375 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.003424, allocations: 28.58 kB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.003912, allocations: 0.7508 MB / 0.8807 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.646e-05/0.003999, allocations: 269.4 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.004033, allocations: 130.9 kB / 0.8811 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.004065, allocations: 121.7 kB / 0.8812 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.004111, allocations: 160.5 kB / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.893e-06/0.004113, allocations: 0 / 0.8814 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.624e-05/0.004189, allocations: 37.59 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.004317, allocations: 174.5 kB / 0.8816 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.004442, allocations: 204.1 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.004451, allocations: 25.7 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.004528, allocations: 172.6 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.004532, allocations: 4 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.004568, allocations: 31.33 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.004689, allocations: 0.4884 MB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.004704, allocations: 4 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.00475, allocations: 78.2 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.458e-05/0.004824, allocations: 92.22 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.004827, allocations: 0 / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001289/0.004956, allocations: 85.5 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.004969, allocations: 4 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.004977, allocations: 7.984 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.004989, allocations: 0 / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.005053, allocations: 16 kB / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.005062, allocations: 11.88 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.005088, allocations: 7.953 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.005094, allocations: 4.25 kB / 0.8828 GB, free: 1.324 MB / 0.8386 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 9.617e-05/0.005191, allocations: 287.7 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.00524, allocations: 160.8 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.005284, allocations: 148.7 kB / 0.8833 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-05/0.00534, allocations: 272.1 kB / 0.8836 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.167e-05/0.005401, allocations: 272 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.581e-05/0.005477, allocations: 272.1 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.005659, allocations: 0.5037 MB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/0.005697, allocations: 152.9 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.005731, allocations: 144.9 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.816e-05/0.005789, allocations: 268 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.00585, allocations: 276.1 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-05/0.005904, allocations: 268 kB / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.034e-05/0.005964, allocations: 268.1 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.006099, allocations: 455.8 kB / 0.8864 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.006149, allocations: 160.8 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.006218, allocations: 272 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.006271, allocations: 148.9 kB / 0.8869 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.00633, allocations: 264.4 kB / 0.8872 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.006362, allocations: 152.8 kB / 0.8873 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.006419, allocations: 145.1 kB / 0.8874 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006419, allocations: 4 kB / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001609/0.006579, allocations: 12 kB / 0.8875 GB, free: 12.32 MB / 0.8542 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.0001108/0.00669, allocations: 214.4 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.386e-05/0.006784, allocations: 31.66 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006786, allocations: 0 / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.006787, allocations: 0 / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.007087, allocations: 0.7144 MB / 0.8884 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.007401, allocations: 265.7 kB / 0.8886 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.343e-05/0.007445, allocations: 67.28 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.007482, allocations: 4.734 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.007511, allocations: 12.5 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/0.007512, allocations: 0 / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.002022/0.009534, allocations: 331 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.14651788957417]