Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001401, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437.1 MB / 0.7177 GB, free: 4.543 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 64.12 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3163, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002173/0.3185, allocations: 0.8217 MB / 1.177 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001493/0.3187, allocations: 43.73 kB / 1.177 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.3187, allocations: 4 kB / 1.177 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.3188, allocations: 7.922 kB / 1.177 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.076e-05/0.3189, allocations: 11.88 kB / 1.177 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.068e-05/0.319, allocations: 15.98 kB / 1.177 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3191, allocations: 63.77 kB / 1.177 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3193, allocations: 51.97 kB / 1.177 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.3194, allocations: 15.94 kB / 1.177 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.3194, allocations: 35.78 kB / 1.177 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3195, allocations: 4 kB / 1.177 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3195, allocations: 8 kB / 1.177 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.3195, allocations: 11.94 kB / 1.177 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.3196, allocations: 35.8 kB / 1.177 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3197, allocations: 79.52 kB / 1.177 GB, free: 4.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3197, allocations: 0 / 1.177 GB, free: 4.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3197, allocations: 4 kB / 1.177 GB, free: 4.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3197, allocations: 0 / 1.177 GB, free: 4.676 MB / 0.92 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.0005003/0.3202, allocations: 379.1 kB / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3203, allocations: 12.03 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.3203, allocations: 12.84 kB / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3206, allocations: 192.2 kB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3206, allocations: 12.31 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.3206, allocations: 8.375 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3208, allocations: 93.97 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3208, allocations: 192 / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3209, allocations: 7.938 kB / 1.178 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3209, allocations: 11.98 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.321, allocations: 39.86 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.3216, allocations: 436.7 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.3217, allocations: 41.25 kB / 1.178 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.3217, allocations: 21.77 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.3217, allocations: 4 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3218, allocations: 34.56 kB / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3218, allocations: 0 / 1.178 GB, free: 3.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.322, allocations: 53.53 kB / 1.178 GB, free: 3.152 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.322, allocations: 77.11 kB / 1.178 GB, free: 3.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3222, allocations: 159.7 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3222, allocations: 29.7 kB / 1.179 GB, free: 2.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.3223, allocations: 104 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.3223, allocations: 11.95 kB / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.3224, allocations: 13.72 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3225, allocations: 318.8 kB / 1.179 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.3225, allocations: 8 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.3226, allocations: 21.64 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.3226, allocations: 29.72 kB / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3226, allocations: 0 / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.553e-05/0.3227, allocations: 61.55 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3228, allocations: 7.984 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3228, allocations: 3.938 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3228, allocations: 4 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.3229, allocations: 4 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3229, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.3229, allocations: 8.062 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3229, allocations: 3.938 kB / 1.179 GB, free: 2.234 MB / 0.92 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 0.0001007/0.323, allocations: 113.8 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.3231, allocations: 7.953 kB / 1.179 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.3231, allocations: 19.8 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3231, allocations: 0 / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3231, allocations: 0 / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3231, allocations: 0 / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.3236, allocations: 478.7 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3236, allocations: 0 / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.3236, allocations: 4 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3236, allocations: 0 / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3236, allocations: 0 / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3237, allocations: 7.938 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3237, allocations: 0 / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.25e-05/0.3238, allocations: 85.88 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.3239, allocations: 96.98 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3239, allocations: 0 / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.3239, allocations: 0 / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.3239, allocations: 8 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3239, allocations: 0 / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001025/0.324, allocations: 121.3 kB / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.324, allocations: 4.031 kB / 1.18 GB, free: 1.191 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001864/0.3242, allocations: 8 kB / 1.18 GB, free: 1.184 MB / 0.92 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.0001319/0.3244, allocations: 99.19 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.317e-05/0.3245, allocations: 20 kB / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3245, allocations: 0 / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.3245, allocations: 15.92 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.3247, allocations: 8.188 kB / 1.18 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.325, allocations: 188.2 kB / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3253, allocations: 0.6928 MB / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.3254, allocations: 11.44 kB / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3254, allocations: 0 / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of Templates: time 0.002661/0.328, allocations: 0.8716 MB / 1.182 GB, free: 15.2 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.282163360971026]