Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002078/0.002078, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002939/0.002939, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.599/1.599, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.93/2.93, allocations: 475.9 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002193/0.002193, allocations: 68.77 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4129, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002699/0.4156, allocations: 0.7924 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001676/0.4158, allocations: 47.78 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.4158, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.656e-05/0.4159, allocations: 7.875 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.051e-05/0.416, allocations: 7.875 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.483e-05/0.416, allocations: 23.97 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.4162, allocations: 59.84 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.4163, allocations: 31.97 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.4165, allocations: 27.86 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.4165, allocations: 27.8 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.4166, allocations: 4 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.4166, allocations: 8 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.4166, allocations: 15.92 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.4167, allocations: 23.81 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.4169, allocations: 83.56 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.4169, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.198e-06/0.4169, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4169, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 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.0007104/0.4176, allocations: 306.1 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.4177, allocations: 12.03 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.4178, allocations: 12.89 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.4181, allocations: 130.4 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.4181, allocations: 8.375 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.4181, allocations: 8.375 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.4183, allocations: 99.78 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4184, allocations: 4.125 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.4184, allocations: 7.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4184, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.4185, allocations: 31.98 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.4192, allocations: 364.4 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.673e-05/0.4192, allocations: 33.22 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.4193, allocations: 17.78 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.4193, allocations: 4 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4193, allocations: 38.53 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.4193, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002405/0.4196, allocations: 61.52 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.4197, allocations: 77.11 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4198, allocations: 132.5 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4198, allocations: 25.7 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4199, allocations: 115.9 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.4199, allocations: 3.953 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.42, allocations: 17.72 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4202, allocations: 314.8 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.4202, allocations: 8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.4202, allocations: 17.72 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.4203, allocations: 29.66 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4203, allocations: 4 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002015/0.4205, allocations: 53.64 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4205, allocations: 4 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4205, allocations: 4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.4205, allocations: 4.031 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4207, allocations: 11.92 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4207, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.4207, allocations: 8 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4207, allocations: 3.984 kB / 1.286 GB, free: 8.695 MB / 0.9825 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.0001369/0.4209, allocations: 117.8 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.4209, allocations: 11.95 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.4209, allocations: 7.406 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4209, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.4209, allocations: 4 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4209, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.4214, allocations: 410.5 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4214, allocations: 3.938 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.4214, allocations: 8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4214, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.4214, allocations: 8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4214, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4214, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.4215, allocations: 81.88 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.4216, allocations: 11.88 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.4216, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.4216, allocations: 7.984 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.4216, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4216, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.4217, allocations: 99.27 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4217, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001873/0.4219, allocations: 11.98 kB / 1.287 GB, free: 7.848 MB / 0.9825 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.0001355/0.422, allocations: 95.25 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.4221, allocations: 23.92 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4221, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.4221, allocations: 4 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.4223, allocations: 9.656 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.4227, allocations: 155 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.446e-05/0.4228, allocations: 91.12 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.4228, allocations: 4 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.4229, allocations: 11.44 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.4229, allocations: 3.938 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of Templates: time 0.003338/0.4262, allocations: 372.6 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.641170997172594]