Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.002384/0.002384, allocations: 79.75 kB / 20.23 MB, free: 4.172 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.002721/0.002721, allocations: 153.4 kB / 23.55 MB, free: 0.8633 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.583/1.583, 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.983/2.983, allocations: 377.8 MB / 0.6232 GB, free: 8.5 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.05e-05, allocations: 4.984 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002108/0.002138, allocations: 0.8566 MB / 0.8117 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.002284, allocations: 55.64 kB / 0.8117 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.00234, allocations: 5.688 kB / 0.8117 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.002379, allocations: 11.86 kB / 0.8117 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.002464, allocations: 11.88 kB / 0.8117 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.554e-05/0.002529, allocations: 23.97 kB / 0.8118 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.002672, allocations: 81.3 kB / 0.8118 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.002801, allocations: 37.22 kB / 0.8119 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.002898, allocations: 51.84 kB / 0.8119 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.002956, allocations: 27.89 kB / 0.8119 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.002979, allocations: 9.75 kB / 0.812 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.003003, allocations: 8 kB / 0.812 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.003033, allocations: 19.86 kB / 0.812 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.003075, allocations: 27.91 kB / 0.812 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.003221, allocations: 91.66 kB / 0.8121 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003223, allocations: 1.156 kB / 0.8121 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003224, allocations: 0 / 0.8121 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.00323, allocations: 4 kB / 0.8121 GB, free: 0.7617 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005527/0.003782, allocations: 433.5 kB / 0.8125 GB, free: 308 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.003817, allocations: 12.03 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.003872, allocations: 20.84 kB / 0.8125 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.004108, allocations: 144.6 kB / 0.8127 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.004122, allocations: 7.156 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.004138, allocations: 8.375 kB / 0.8127 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.004361, allocations: 119.7 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004371, allocations: 0 / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.00438, allocations: 0 / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.00439, allocations: 4 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.004489, allocations: 43.92 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.005372, allocations: 498.8 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.005462, allocations: 62.58 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.005506, allocations: 25.14 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.005518, allocations: 4 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.005553, allocations: 37.39 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.005554, allocations: 0.7188 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.005739, allocations: 58.95 kB / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.005803, allocations: 81.05 kB / 0.8136 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.00601, allocations: 204.4 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.006028, allocations: 26.86 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.006152, allocations: 166.8 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.006161, allocations: 3.953 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.006216, allocations: 32.69 kB / 0.814 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000268/0.006484, allocations: 0.4884 MB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.006503, allocations: 4 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.006543, allocations: 31.8 kB / 0.8145 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.006599, allocations: 36.34 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006601, allocations: 0 / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.921e-05/0.0067, allocations: 58.53 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.006712, allocations: 4.844 kB / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006717, allocations: 0 / 0.8146 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.006732, allocations: 6.188 kB / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.006797, allocations: 4 kB / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006802, allocations: 0 / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.006829, allocations: 3.953 kB / 0.8146 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.006832, allocations: 4 kB / 0.8146 GB, free: 13.93 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.0001239/0.006956, allocations: 164.5 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.006998, allocations: 10.69 kB / 0.8148 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.007024, allocations: 11.8 kB / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.007025, allocations: 0 / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.007028, allocations: 0 / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.007031, allocations: 0 / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.007575, allocations: 0.5694 MB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007577, allocations: 1.594 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.007603, allocations: 11.94 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007605, allocations: 0 / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.00761, allocations: 0 / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.007611, allocations: 4.5 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.007612, allocations: 0 / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.007743, allocations: 97.86 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.007772, allocations: 7.953 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.007786, allocations: 3.984 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.007804, allocations: 4 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.00782, allocations: 4.812 kB / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.007822, allocations: 0 / 0.8155 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001189/0.007941, allocations: 155.8 kB / 0.8156 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007941, allocations: 0 / 0.8156 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001886/0.008129, allocations: 23.56 kB / 0.8157 GB, free: 12.79 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.0001177/0.008247, allocations: 99.23 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.008339, allocations: 19.69 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008341, allocations: 0 / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.008364, allocations: 19.62 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.008503, allocations: 4 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.008891, allocations: 196.1 kB / 0.816 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.1e-05/0.008982, allocations: 89.23 kB / 0.8161 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.009008, allocations: 1.125 kB / 0.8161 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.009035, allocations: 12.5 kB / 0.8161 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.009035, allocations: 1.125 kB / 0.8161 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.00302/0.01205, allocations: 355.3 kB / 0.8164 GB, free: 11.96 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.124692574958317]