Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001304/0.001304, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001469/0.001469, allocations: 215.2 kB / 23.01 MB, free: 4.566 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [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.001971/0.001971, allocations: 68.23 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2686, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002013/0.2706, allocations: 0.837 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.2707, allocations: 39.78 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.2707, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.2708, allocations: 11.86 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.2709, allocations: 11.88 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.438e-05/0.2709, allocations: 15.98 kB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.271, allocations: 63.84 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2712, allocations: 35.84 kB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.726e-05/0.2712, allocations: 35.86 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.2713, allocations: 35.72 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.2713, allocations: 4 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.2713, allocations: 8 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.2714, allocations: 11.94 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.2714, allocations: 31.8 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.2715, allocations: 71.64 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2715, allocations: 4 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2715, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2715, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 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.0004761/0.272, allocations: 314.1 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.272, allocations: 8.031 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.2721, allocations: 8.891 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2723, allocations: 138.3 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2723, allocations: 8.375 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2723, allocations: 8.375 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2725, allocations: 93.98 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2725, allocations: 8.172 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2725, allocations: 7.938 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2725, allocations: 4 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.2726, allocations: 31.98 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.2731, allocations: 403.8 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.2732, allocations: 33.28 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.2733, allocations: 29.64 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2733, allocations: 0 / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2733, allocations: 34.59 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2733, allocations: 0 / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.2735, allocations: 61.75 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.2735, allocations: 81.11 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2737, allocations: 160.6 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2737, allocations: 25.7 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.2738, allocations: 112 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.2738, allocations: 3.953 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.2738, allocations: 17.72 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.274, allocations: 318.8 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.274, allocations: 12.03 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.274, allocations: 21.7 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.2741, allocations: 25.66 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2741, allocations: 7.938 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.872e-05/0.2742, allocations: 57.64 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2742, allocations: 4 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2742, allocations: 8 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2742, allocations: 0 / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.2743, allocations: 15.94 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2743, allocations: 0 / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.2743, allocations: 7.891 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.2743, allocations: 4 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.641e-05/0.2744, allocations: 113.8 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.2745, allocations: 7.953 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2745, allocations: 11.73 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2745, allocations: 8 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2745, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2745, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.2749, allocations: 441.8 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2749, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.275, allocations: 4 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.275, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.275, allocations: 4.062 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.275, allocations: 7.938 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.275, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.2751, allocations: 85.81 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.2751, allocations: 11.91 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2751, allocations: 3.984 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.2751, allocations: 32 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.2752, allocations: 4 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.2752, allocations: 4 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.548e-05/0.2753, allocations: 125.9 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2753, allocations: 0 / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001852/0.2754, allocations: 4 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001142/0.2756, allocations: 95.25 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.2756, allocations: 24 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2757, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.2757, allocations: 7.984 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2758, allocations: 7.938 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.2762, allocations: 180.5 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.2766, allocations: 0.6969 MB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.2766, allocations: 11.44 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.2766, allocations: 0 / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of Templates: time 0.002526/0.2791, allocations: 0.8733 MB / 1.29 GB, free: 4.891 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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: 10.718454015994212]