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.001395/0.001395, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.001548/0.001548, allocations: 159.2 kB / 23.01 MB, free: 4.961 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.512/1.512, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.861/2.861, allocations: 377.9 MB / 0.6228 GB, free: 12.54 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_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.002132/0.002132, allocations: 67.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9998/1.002, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001894/1.004, allocations: 0.7864 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000121/1.004, allocations: 44.94 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/1.004, allocations: 0 / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/1.004, allocations: 7.875 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.4e-05/1.004, allocations: 6.719 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.931e-05/1.004, allocations: 21.61 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/1.004, allocations: 60.91 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/1.004, allocations: 38.34 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/1.005, allocations: 27.88 kB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/1.005, allocations: 24.28 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/1.005, allocations: 5.438 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/1.005, allocations: 5.719 kB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/1.005, allocations: 17.78 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/1.005, allocations: 25.25 kB / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/1.005, allocations: 78.45 kB / 1.155 GB, free: 32.6 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.005, allocations: 0 / 1.155 GB, free: 32.6 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.794e-06/1.005, allocations: 0 / 1.155 GB, free: 32.6 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.005, allocations: 0 / 1.155 GB, free: 32.6 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004125/1.005, allocations: 308.7 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.005, allocations: 10.16 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/1.005, allocations: 7.453 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/1.005, allocations: 148.3 kB / 1.155 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.005, allocations: 6.906 kB / 1.155 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/1.006, allocations: 9.672 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/1.006, allocations: 94.02 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.006, allocations: 192 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.006, allocations: 7.938 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/1.006, allocations: 2.875 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/1.006, allocations: 37.95 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/1.006, allocations: 356.8 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/1.006, allocations: 39.06 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/1.006, allocations: 19.5 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/1.006, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/1.006, allocations: 33.38 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/1.006, allocations: 0 / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001667/1.006, allocations: 60.09 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.006, allocations: 81.36 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/1.007, allocations: 127.3 kB / 1.156 GB, free: 31.35 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/1.007, allocations: 25.7 kB / 1.156 GB, free: 31.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/1.007, allocations: 112.7 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/1.007, allocations: 21.66 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/1.007, allocations: 16.34 kB / 1.156 GB, free: 31.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/1.007, allocations: 313.6 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/1.007, allocations: 14.19 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/1.007, allocations: 15.19 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/1.007, allocations: 29.69 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.007, allocations: 0 / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.733e-05/1.007, allocations: 61.06 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.007, allocations: 5.062 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.007, allocations: 2.688 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.007, allocations: 3.938 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/1.007, allocations: 4.969 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.007, allocations: 5.828 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/1.007, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/1.007, allocations: 2.781 kB / 1.157 GB, free: 30.76 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 5.318e-05/1.007, allocations: 117.4 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/1.007, allocations: 6.609 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/1.007, allocations: 17.81 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.007, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.007, allocations: 3.062 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.007, allocations: 3.375 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/1.007, allocations: 411.8 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.007, allocations: 3.938 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/1.007, allocations: 2.906 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.007, allocations: 4.062 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/1.007, allocations: 2.344 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.007, allocations: 0 / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.007, allocations: 0 / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.139e-05/1.007, allocations: 78.56 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/1.008, allocations: 10.8 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/1.008, allocations: 3.422 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/1.008, allocations: 2.562 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/1.008, allocations: 3.938 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/1.008, allocations: 2.375 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.028e-05/1.008, allocations: 101.7 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.008, allocations: 2.75 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001897/1.008, allocations: 13.47 kB / 1.158 GB, free: 30.01 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 8.628e-05/1.008, allocations: 96.48 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.746e-05/1.008, allocations: 14.47 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.008, allocations: 2.875 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/1.008, allocations: 6.812 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/1.008, allocations: 10.78 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/1.008, allocations: 156.2 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/1.008, allocations: 82.8 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.533e-05/1.008, allocations: 2.531 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/1.009, allocations: 11.34 kB / 1.158 GB, free: 29.67 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.009, allocations: 0 / 1.158 GB, free: 29.67 MB / 1.076 GB Notification: Performance of Templates: time 0.002727/1.011, allocations: 336 kB / 1.158 GB, free: 29.59 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.178382534068078]