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.001414/0.001414, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001835/0.001835, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.508/1.508, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.806/2.806, allocations: 377.9 MB / 0.6228 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00316/0.00316, allocations: 71.89 kB / 0.982 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.103, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.003071/1.107, allocations: 0.8388 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000193/1.107, allocations: 53.17 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/1.107, allocations: 2.875 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.759e-05/1.107, allocations: 11.3 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/1.107, allocations: 7.875 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 9.419e-05/1.107, allocations: 28.14 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/1.107, allocations: 82.53 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/1.108, allocations: 39.08 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/1.108, allocations: 46.3 kB / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/1.108, allocations: 28.16 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/1.108, allocations: 8.062 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/1.108, allocations: 12.22 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/1.108, allocations: 21.97 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/1.108, allocations: 31.52 kB / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/1.108, allocations: 106.3 kB / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/1.108, allocations: 0 / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.416e-06/1.108, allocations: 2.812 kB / 1.155 GB, free: 32.53 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.108, allocations: 0 / 1.155 GB, free: 32.53 MB / 1.076 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.0006563/1.109, allocations: 328.9 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/1.109, allocations: 7.594 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/1.109, allocations: 9.953 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/1.109, allocations: 146.4 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.109, allocations: 4.062 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/1.109, allocations: 11.97 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/1.109, allocations: 107.9 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.109, allocations: 2.906 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/1.109, allocations: 7.234 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/1.109, allocations: 3.031 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/1.11, allocations: 41.56 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/1.11, allocations: 378.4 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/1.11, allocations: 34.81 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/1.11, allocations: 22.86 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/1.11, allocations: 3.938 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.11, allocations: 37.14 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/1.11, allocations: 0 / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002501/1.111, allocations: 50.84 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/1.111, allocations: 84.47 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.111, allocations: 140.4 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/1.111, allocations: 29.7 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/1.111, allocations: 118.6 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/1.111, allocations: 7.953 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/1.111, allocations: 15.25 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.111, allocations: 322.1 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/1.111, allocations: 8.812 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/1.111, allocations: 19.69 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/1.111, allocations: 33.06 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.111, allocations: 0 / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.47e-05/1.111, allocations: 55.78 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.111, allocations: 5.094 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.111, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.111, allocations: 7.219 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/1.111, allocations: 9.719 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.111, allocations: 0 / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/1.111, allocations: 2.656 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/1.112, allocations: 6.531 kB / 1.157 GB, free: 30.66 MB / 1.076 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 9.454e-05/1.112, allocations: 117.3 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/1.112, allocations: 9.297 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/1.112, allocations: 11.19 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.112, allocations: 2.375 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/1.112, allocations: 0 / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.112, allocations: 0 / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/1.112, allocations: 425.5 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.112, allocations: 2.594 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/1.112, allocations: 2.375 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/1.112, allocations: 4.172 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/1.112, allocations: 3.938 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.112, allocations: 6.562 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.112, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.837e-05/1.112, allocations: 79.33 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/1.112, allocations: 14.09 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/1.112, allocations: 4 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/1.112, allocations: 6.594 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/1.112, allocations: 0 / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/1.112, allocations: 0 / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.479e-05/1.112, allocations: 111.2 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.112, allocations: 0 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002251/1.113, allocations: 12.14 kB / 1.158 GB, free: 29.9 MB / 1.076 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.0001424/1.113, allocations: 95.25 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001348/1.113, allocations: 22.48 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.113, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-06/1.113, allocations: 2.719 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/1.113, allocations: 6.812 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/1.114, allocations: 195.2 kB / 1.158 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/1.114, allocations: 84.73 kB / 1.158 GB, free: 29.56 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.854e-05/1.114, allocations: 2.719 kB / 1.158 GB, free: 29.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/1.114, allocations: 11.12 kB / 1.158 GB, free: 29.55 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/1.114, allocations: 0 / 1.158 GB, free: 29.55 MB / 1.076 GB Notification: Performance of Templates: time 0.003695/1.117, allocations: 334.4 kB / 1.159 GB, free: 29.47 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.164730243035592]