Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00181/0.00181, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002314/0.002314, allocations: 220.4 kB / 23 MB, free: 4.914 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.403/3.403, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002062/0.002062, allocations: 62.06 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002157/0.3466, allocations: 0.8335 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.3468, allocations: 51.78 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.3468, allocations: 0 / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.3469, allocations: 19.8 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.3469, allocations: 7.875 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.087e-05/0.347, allocations: 27.97 kB / 1.366 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3471, allocations: 79.72 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3473, allocations: 33.28 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.3473, allocations: 39.84 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.3474, allocations: 23.8 kB / 1.366 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.3474, allocations: 12 kB / 1.366 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.3474, allocations: 8 kB / 1.366 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.3475, allocations: 19.92 kB / 1.366 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.3475, allocations: 35.8 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.3476, allocations: 103.4 kB / 1.366 GB, free: 12.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3476, allocations: 3.984 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3476, allocations: 0 / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3476, allocations: 0 / 1.366 GB, free: 12.25 MB / 1.061 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.0004553/0.3481, allocations: 322.1 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3481, allocations: 12.02 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.3482, allocations: 20.84 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3484, allocations: 138.5 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3484, allocations: 8.5 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3485, allocations: 8.375 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3486, allocations: 112.2 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3487, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3487, allocations: 3.938 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3487, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.527e-05/0.3488, allocations: 47.92 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.3493, allocations: 376.2 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.562e-05/0.3494, allocations: 49.14 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.3494, allocations: 17.78 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.3494, allocations: 0 / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3494, allocations: 34.56 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3494, allocations: 0 / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.3496, allocations: 49.59 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.3497, allocations: 81.09 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3498, allocations: 135.2 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3498, allocations: 30.17 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.3499, allocations: 120.1 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.3499, allocations: 7.891 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.35, allocations: 21.67 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3501, allocations: 330.7 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.3501, allocations: 4 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.3501, allocations: 17.72 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.3502, allocations: 25.7 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3502, allocations: 0 / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.307e-05/0.3503, allocations: 57.64 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3503, allocations: 8 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3503, allocations: 0 / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3503, allocations: 0 / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.3504, allocations: 7.984 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3504, allocations: 4 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.3504, allocations: 3.953 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3504, allocations: 3.938 kB / 1.368 GB, free: 10.02 MB / 1.061 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 8.897e-05/0.3505, allocations: 114.9 kB / 1.368 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.3505, allocations: 4.062 kB / 1.368 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.3506, allocations: 15.81 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3506, allocations: 0 / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3506, allocations: 3.938 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3506, allocations: 7.984 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.351, allocations: 418.4 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.351, allocations: 0 / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.3511, allocations: 7.938 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3511, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3511, allocations: 4 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3511, allocations: 8 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3511, allocations: 4 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.3512, allocations: 77.88 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.3512, allocations: 4 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3512, allocations: 0 / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.3512, allocations: 3.938 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.3513, allocations: 11.98 kB / 1.369 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.3513, allocations: 0 / 1.369 GB, free: 9.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.61e-05/0.3513, allocations: 109.5 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001983/0.3515, allocations: 19.83 kB / 1.369 GB, free: 9.145 MB / 1.061 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.0001059/0.3516, allocations: 99.28 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.3517, allocations: 15.98 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3517, allocations: 0 / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.3517, allocations: 7.938 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.3519, allocations: 8 kB / 1.369 GB, free: 9.008 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.3523, allocations: 212.1 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.359e-05/0.3524, allocations: 88.44 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3524, allocations: 7.438 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3524, allocations: 4 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of Templates: time 0.002507/0.3549, allocations: 0.8766 MB / 1.37 GB, free: 7.773 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 11.248308918904513]