Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001802/0.001802, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002267/0.002267, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.574 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 2.97/2.97, allocations: 377.8 MB / 0.6232 GB, free: 8.496 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8108 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.267e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002166/0.002198, allocations: 0.8019 MB / 0.8116 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.002355, allocations: 43.78 kB / 0.8116 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.002419, allocations: 4 kB / 0.8116 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.002462, allocations: 8.938 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.002545, allocations: 7.875 kB / 0.8117 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.514e-05/0.002611, allocations: 15.98 kB / 0.8117 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.002754, allocations: 69.3 kB / 0.8117 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.002897, allocations: 31.91 kB / 0.8118 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.002996, allocations: 35.91 kB / 0.8118 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.003062, allocations: 15.92 kB / 0.8118 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.003084, allocations: 4.656 kB / 0.8118 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.003094, allocations: 8 kB / 0.8118 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.00313, allocations: 24.56 kB / 0.8119 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.003168, allocations: 12.91 kB / 0.8119 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.003315, allocations: 71.75 kB / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003317, allocations: 0 / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003318, allocations: 0.7812 kB / 0.8119 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.003323, allocations: 0 / 0.8119 GB, free: 0.8945 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.0005218/0.003844, allocations: 308.4 kB / 0.8122 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.003894, allocations: 12.02 kB / 0.8122 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.003971, allocations: 16.83 kB / 0.8123 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.004215, allocations: 137.6 kB / 0.8124 GB, free: 384 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.004235, allocations: 8.375 kB / 0.8124 GB, free: 376 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.004251, allocations: 8.375 kB / 0.8124 GB, free: 368 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.004451, allocations: 99.95 kB / 0.8125 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.004461, allocations: 192 / 0.8125 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.004477, allocations: 4.375 kB / 0.8125 GB, free: 256 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.004486, allocations: 5.969 kB / 0.8125 GB, free: 252 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.004584, allocations: 35.92 kB / 0.8125 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.005227, allocations: 356.4 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/0.005307, allocations: 33.16 kB / 0.8129 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.00536, allocations: 27.02 kB / 0.8129 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.005371, allocations: 5.344 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.005408, allocations: 30.56 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.005409, allocations: 0 / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.005624, allocations: 54.12 kB / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.005695, allocations: 78.48 kB / 0.8131 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.005854, allocations: 133.8 kB / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.005878, allocations: 25.7 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.005976, allocations: 109.1 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.005989, allocations: 7.953 kB / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.006028, allocations: 13.72 kB / 0.8134 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.00621, allocations: 324 kB / 0.8137 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.00623, allocations: 4 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.00626, allocations: 17.72 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.006318, allocations: 34.7 kB / 0.8137 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00632, allocations: 0 / 0.8137 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.756e-05/0.006418, allocations: 50.58 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.006432, allocations: 5.562 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.006438, allocations: 3.938 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.006459, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.00653, allocations: 11.98 kB / 0.8138 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.006539, allocations: 6.719 kB / 0.8138 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.006569, allocations: 7.891 kB / 0.8138 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.006576, allocations: 4 kB / 0.8138 GB, free: 14.76 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.0001022/0.006678, allocations: 113.8 kB / 0.8139 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.006717, allocations: 7.938 kB / 0.8139 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.006739, allocations: 7.469 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.006741, allocations: 0 / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.006754, allocations: 0.5 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.006767, allocations: 12.45 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.007216, allocations: 408.4 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.007223, allocations: 8 kB / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.007243, allocations: 0 / 0.8144 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.007252, allocations: 7.984 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.007261, allocations: 3.938 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007262, allocations: 1.688 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007264, allocations: 0 / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.007371, allocations: 69.94 kB / 0.8144 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.007405, allocations: 24 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.00742, allocations: 4.844 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.007438, allocations: 4 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.007451, allocations: 0.5312 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.007453, allocations: 0.8438 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.007538, allocations: 102.5 kB / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007538, allocations: 0 / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002183/0.007756, allocations: 12.8 kB / 0.8146 GB, free: 13.93 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.0001194/0.007876, allocations: 97.66 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.063e-05/0.007966, allocations: 23.92 kB / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007968, allocations: 0.8438 kB / 0.8147 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.007983, allocations: 5.219 kB / 0.8147 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.00814, allocations: 7.922 kB / 0.8147 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.008511, allocations: 170 kB / 0.8149 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.811e-05/0.008599, allocations: 80.5 kB / 0.815 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.008642, allocations: 5.094 kB / 0.815 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.008681, allocations: 13.56 kB / 0.815 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.008682, allocations: 0 / 0.815 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of Templates: time 0.00277/0.01145, allocations: 341.1 kB / 0.8153 GB, free: 13.15 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.05769888998475]