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.002046/0.002046, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.002446/0.002446, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.662/1.662, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.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 3.478/3.478, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 MB / 0.6231 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_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: 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.00211/0.00211, allocations: 68.75 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4403, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.003866/0.4442, allocations: 0.8363 MB / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001783/0.4443, allocations: 43.78 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.4444, allocations: 0 / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.4445, allocations: 7.875 kB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.4446, allocations: 11.88 kB / 1.322 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.569e-05/0.4447, allocations: 19.97 kB / 1.322 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.4449, allocations: 59.84 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.4451, allocations: 31.92 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.4452, allocations: 35.8 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.4452, allocations: 23.86 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.4453, allocations: 4 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.4453, allocations: 8 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.4453, allocations: 15.92 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.4454, allocations: 39.73 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.4456, allocations: 75.58 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4456, allocations: 0 / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4456, allocations: 0 / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.4456, allocations: 0 / 1.322 GB, free: 1.641 MB / 1.014 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.0007116/0.4463, allocations: 391 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.4463, allocations: 11.98 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.4464, allocations: 8.891 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.4467, allocations: 200.2 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.4467, allocations: 8.375 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.4468, allocations: 8.375 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.447, allocations: 91.8 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.447, allocations: 4.188 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.447, allocations: 11.94 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.447, allocations: 0 / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.4471, allocations: 35.98 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/0.4479, allocations: 436.7 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.4479, allocations: 41.22 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.448, allocations: 17.81 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.448, allocations: 3.938 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.448, allocations: 34.56 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.448, allocations: 0 / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002443/0.4483, allocations: 65.72 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.4483, allocations: 81.11 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.4485, allocations: 156.3 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4486, allocations: 29.7 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4487, allocations: 108 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.4487, allocations: 7.953 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.4487, allocations: 17.72 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4489, allocations: 318.8 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.4489, allocations: 8 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.449, allocations: 17.72 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.449, allocations: 25.66 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.449, allocations: 4 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.501e-05/0.4491, allocations: 57.64 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4491, allocations: 4 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4491, allocations: 8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.4492, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.4492, allocations: 7.938 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4493, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.4493, allocations: 11.94 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.4493, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 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.0001147/0.4494, allocations: 113.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.4495, allocations: 8.047 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.4495, allocations: 19.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4495, allocations: 4 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4495, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4495, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.45, allocations: 466.8 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.45, allocations: 3.984 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.4501, allocations: 4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4501, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.587e-06/0.4501, allocations: 8.062 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4501, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4501, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.4502, allocations: 85.78 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.4503, allocations: 92.98 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.4503, allocations: 4 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.4503, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.4503, allocations: 8.031 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.4503, allocations: 3.938 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001015/0.4504, allocations: 125.1 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4504, allocations: 3.938 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001883/0.4506, allocations: 8 kB / 1.325 GB, free: 14.13 MB / 1.029 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.0001622/0.4508, allocations: 99.23 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.4509, allocations: 20 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4509, allocations: 4.062 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.4509, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.4511, allocations: 9.656 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.4515, allocations: 166.7 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4519, allocations: 0.6925 MB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.4519, allocations: 12.42 kB / 1.326 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.452, allocations: 11.44 kB / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.452, allocations: 0 / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of Templates: time 0.003351/0.4553, allocations: 456.5 kB / 1.327 GB, free: 12.61 MB / 1.029 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: 9.793152613099664]