Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001476/0.001476, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002359/0.002359, allocations: 208.8 kB / 22.99 MB, free: 4.957 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.361/3.361, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002031/0.002031, allocations: 68.69 kB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4411, allocations: 176.1 MB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002305/0.4434, allocations: 0.7977 MB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001344/0.4435, allocations: 43.78 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.4436, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.4436, allocations: 15.8 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.4437, allocations: 7.938 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.13e-05/0.4438, allocations: 19.98 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.4439, allocations: 55.95 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.4441, allocations: 35.97 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.4441, allocations: 27.77 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.4442, allocations: 31.78 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.4442, allocations: 8 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.4442, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.4442, allocations: 19.92 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.4443, allocations: 27.86 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.4444, allocations: 71.53 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4444, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4444, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4444, allocations: 4 kB / 1.328 GB, free: 15.75 MB / 1.029 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.0005103/0.4449, allocations: 317.9 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.445, allocations: 8.031 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.445, allocations: 8.891 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.4452, allocations: 138.3 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4452, allocations: 4.375 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4453, allocations: 12.38 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4454, allocations: 91.86 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4454, allocations: 4.172 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.4454, allocations: 7.938 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4455, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4456, allocations: 39.92 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.4461, allocations: 352.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.634e-05/0.4462, allocations: 41.28 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.4462, allocations: 21.84 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.4462, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4462, allocations: 30.56 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.4462, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001855/0.4464, allocations: 57.77 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.4465, allocations: 85.11 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4466, allocations: 129.3 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4466, allocations: 25.7 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.4467, allocations: 111.9 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.4467, allocations: 7.891 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.4467, allocations: 17.72 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4469, allocations: 318.8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.4469, allocations: 7.984 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.4469, allocations: 17.72 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.447, allocations: 25.72 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.447, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.598e-05/0.4471, allocations: 61.58 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4471, allocations: 9.719 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4471, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4471, allocations: 4.031 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.4472, allocations: 11.92 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4472, allocations: 7.984 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.4472, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.4472, allocations: 0 / 1.33 GB, free: 13.6 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 9.307e-05/0.4473, allocations: 121.8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.4473, allocations: 11.94 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.4474, allocations: 19.34 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4474, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4474, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4474, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.4478, allocations: 414.5 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4478, allocations: 3.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.4478, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4478, allocations: 4.062 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.4478, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4478, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4478, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.551e-05/0.4479, allocations: 73.94 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.4479, allocations: 11.89 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.4479, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.4479, allocations: 4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.448, allocations: 3.938 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.448, allocations: 7.984 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.259e-05/0.448, allocations: 103.2 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.448, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001831/0.4482, allocations: 8 kB / 1.331 GB, free: 12.73 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.0001152/0.4483, allocations: 99.23 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.317e-05/0.4484, allocations: 16 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4484, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.4484, allocations: 7.938 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.4486, allocations: 9.141 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.4489, allocations: 163 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.449, allocations: 83.12 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.449, allocations: 3.984 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.449, allocations: 11.44 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.449, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of Templates: time 0.002844/0.4519, allocations: 391.6 kB / 1.332 GB, free: 11.9 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.233534751008847]