Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002552/0.002552, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002952/0.002952, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.601/1.601, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.026/3.026, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.961e-05, allocations: 7.281 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002054/0.002084, allocations: 0.7971 MB / 0.8116 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.002203, allocations: 39.78 kB / 0.8116 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.002254, allocations: 5.031 kB / 0.8116 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.002292, allocations: 11.86 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.002375, allocations: 8.656 kB / 0.8117 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.462e-05/0.00243, allocations: 19.98 kB / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.002555, allocations: 61.53 kB / 0.8117 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.002682, allocations: 35.89 kB / 0.8118 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.002781, allocations: 39.84 kB / 0.8118 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.002823, allocations: 15.91 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.002844, allocations: 8 kB / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.002854, allocations: 5.531 kB / 0.8118 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.002881, allocations: 19.92 kB / 0.8119 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.002916, allocations: 19.92 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003052, allocations: 75.69 kB / 0.812 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003054, allocations: 0.5938 kB / 0.812 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003055, allocations: 4.938 kB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003059, allocations: 0 / 0.812 GB, free: 0.9297 MB / 0.7605 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.0005494/0.003608, allocations: 405.5 kB / 0.8123 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.003646, allocations: 8.031 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.003702, allocations: 24.88 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.003905, allocations: 136.4 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.003928, allocations: 8.906 kB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.003941, allocations: 4.375 kB / 0.8125 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.004116, allocations: 102.2 kB / 0.8126 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.004124, allocations: 4.656 kB / 0.8126 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004133, allocations: 384 / 0.8126 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.00414, allocations: 6.031 kB / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.004231, allocations: 47.8 kB / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.005045, allocations: 466.3 kB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.029e-05/0.005135, allocations: 58.75 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.005185, allocations: 28.09 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.005199, allocations: 4.766 kB / 0.8132 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.005227, allocations: 33.39 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005228, allocations: 1.156 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.005405, allocations: 54.97 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.005475, allocations: 81.11 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.005655, allocations: 193.8 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.005675, allocations: 29.64 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.005789, allocations: 164.4 kB / 0.8137 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.005799, allocations: 7.953 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.005853, allocations: 23.36 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.006113, allocations: 0.4884 MB / 0.8142 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.006133, allocations: 8 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.006164, allocations: 25.58 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.006221, allocations: 31.38 kB / 0.8143 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006222, allocations: 4 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.882e-05/0.006311, allocations: 52.42 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.006324, allocations: 4 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006328, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.006347, allocations: 7.984 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.006405, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.006412, allocations: 3.938 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.006447, allocations: 15.89 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.006451, allocations: 1.469 kB / 0.8144 GB, free: 14.19 MB / 0.7761 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.0002304/0.006681, allocations: 164.5 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.006719, allocations: 4 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.006739, allocations: 3.969 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.006743, allocations: 3.984 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.00675, allocations: 4.562 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.006754, allocations: 5.406 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.007262, allocations: 0.5577 MB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.007266, allocations: 3.984 kB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.007289, allocations: 10.58 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.007291, allocations: 0 / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.0073, allocations: 3.938 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007301, allocations: 0 / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.007305, allocations: 4 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.007412, allocations: 88.14 kB / 0.8152 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.007436, allocations: 12.41 kB / 0.8152 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.007449, allocations: 7.938 kB / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.007467, allocations: 1.125 kB / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.007483, allocations: 0 / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007488, allocations: 4 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.916e-05/0.007587, allocations: 144.1 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007587, allocations: 0 / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001889/0.007776, allocations: 12.8 kB / 0.8154 GB, free: 13.09 MB / 0.7761 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.0001156/0.007891, allocations: 102.3 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.023e-05/0.007982, allocations: 27.31 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007983, allocations: 0 / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.008004, allocations: 19.69 kB / 0.8155 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.008138, allocations: 0 / 0.8155 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.008488, allocations: 178.6 kB / 0.8157 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.57e-05/0.008573, allocations: 82.47 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.008601, allocations: 7.984 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.008635, allocations: 8.5 kB / 0.8158 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.008635, allocations: 1.031 kB / 0.8158 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.002855/0.01149, allocations: 341.8 kB / 0.8161 GB, free: 12.28 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.128059942973778]