Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002544/0.002544, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.059 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3936, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002236/0.3958, allocations: 0.8333 MB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.3959, allocations: 39.78 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.396, allocations: 4 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.396, allocations: 7.875 kB / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7e-05/0.3961, allocations: 7.875 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.286e-05/0.3962, allocations: 23.98 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3963, allocations: 59.83 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3965, allocations: 43.95 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.3965, allocations: 19.88 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.3966, allocations: 39.72 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3966, allocations: 7.938 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.3966, allocations: 8 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3967, allocations: 11.94 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.3968, allocations: 31.8 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3969, allocations: 79.58 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3969, allocations: 4 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3969, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3969, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 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.0006453/0.3975, allocations: 383.1 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3976, allocations: 8.031 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.3976, allocations: 12.84 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3979, allocations: 196.2 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3979, allocations: 8.375 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3979, allocations: 4.375 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3981, allocations: 97.77 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3981, allocations: 192 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3981, allocations: 7.938 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3981, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.618e-05/0.3982, allocations: 35.98 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.3988, allocations: 444.6 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.3988, allocations: 41.14 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.3989, allocations: 17.84 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.3989, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3989, allocations: 42.59 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3989, allocations: 0 / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001768/0.3991, allocations: 53.53 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.3992, allocations: 81.09 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.3993, allocations: 156.1 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3993, allocations: 29.69 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.3994, allocations: 100.1 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3995, allocations: 15.88 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.3995, allocations: 17.97 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002819/0.3998, allocations: 314.8 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.3998, allocations: 11.98 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.3998, allocations: 13.72 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.3999, allocations: 33.66 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3999, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.059e-05/0.4, allocations: 61.59 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4, allocations: 4 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4, allocations: 3.938 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4, allocations: 7.938 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.4001, allocations: 7.938 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4001, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.4001, allocations: 4 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.4001, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 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.0001005/0.4002, allocations: 117.9 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.4003, allocations: 16.02 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.4003, allocations: 15.81 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4003, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4003, allocations: 4 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4003, allocations: 0 / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.4008, allocations: 474.7 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4008, allocations: 4.062 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.4008, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4008, allocations: 3.938 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4008, allocations: 7.984 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.4008, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4008, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.401, allocations: 77.83 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.4011, allocations: 97.08 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.4011, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.4011, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.4011, allocations: 4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.4011, allocations: 0 / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001173/0.4013, allocations: 120.9 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4013, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002713/0.4015, allocations: 11.94 kB / 1.22 GB, free: 10.65 MB / 0.9669 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.0001784/0.4017, allocations: 99.25 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.4018, allocations: 27.92 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4018, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.4019, allocations: 8 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.4021, allocations: 11.94 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.4025, allocations: 160.7 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.403, allocations: 0.7002 MB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.365e-05/0.4031, allocations: 4.438 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.4031, allocations: 11.44 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.4031, allocations: 3.938 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of Templates: time 0.003183/0.4063, allocations: 477.2 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.765088607557118]