Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001341/0.001341, allocations: 84.44 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.001424/0.001424, allocations: 154.5 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.875/2.875, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002148/0.002148, allocations: 75.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.977/0.9791, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001982/0.9811, allocations: 0.7887 MB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.9812, allocations: 45.38 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.9813, allocations: 1.375 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.9813, allocations: 9.234 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.9814, allocations: 9.859 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.457e-05/0.9815, allocations: 19.81 kB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.9816, allocations: 59.83 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.9817, allocations: 34.62 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.9818, allocations: 26.7 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.9819, allocations: 26.66 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.9819, allocations: 5.5 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.9819, allocations: 5.5 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.9819, allocations: 25.12 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.605e-05/0.9819, allocations: 25.28 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.9821, allocations: 71.39 kB / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9821, allocations: 0.6094 kB / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9821, allocations: 0 / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9821, allocations: 0 / 1.188 GB, free: 15.5 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.0003858/0.9825, allocations: 304.4 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.9825, allocations: 9.625 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.9825, allocations: 13.72 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.9827, allocations: 145.8 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.9827, allocations: 7.125 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.9827, allocations: 13.88 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.9829, allocations: 91.25 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.9829, allocations: 4.125 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.9829, allocations: 9.312 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9829, allocations: 1.938 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.983, allocations: 36.47 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.9834, allocations: 353.3 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/0.9835, allocations: 37.22 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.9835, allocations: 20.28 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.9835, allocations: 1.062 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.9835, allocations: 37.16 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9835, allocations: 0 / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.9837, allocations: 59.78 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.9837, allocations: 83.55 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.9838, allocations: 124 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.9838, allocations: 25.7 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.9839, allocations: 113.5 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.9839, allocations: 9.328 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.9839, allocations: 18.66 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.984, allocations: 314 kB / 1.189 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.984, allocations: 8.719 kB / 1.189 GB, free: 13.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.984, allocations: 16.67 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.9841, allocations: 31.41 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9841, allocations: 0 / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.656e-05/0.9841, allocations: 52.02 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9841, allocations: 5.578 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9841, allocations: 0.7812 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9842, allocations: 6.5 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.9842, allocations: 6.281 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9842, allocations: 3.938 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.9843, allocations: 9.141 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.9843, allocations: 6.375 kB / 1.19 GB, free: 13.66 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.314e-05/0.9843, allocations: 114.5 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.9844, allocations: 8.141 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.9844, allocations: 18.17 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.9844, allocations: 0.7031 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9844, allocations: 1.531 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.9844, allocations: 0 / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.9847, allocations: 417.4 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9847, allocations: 3.938 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.9847, allocations: 8.453 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9847, allocations: 1.188 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.9847, allocations: 0 / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.9847, allocations: 1.953 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9847, allocations: 1.094 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.084e-05/0.9847, allocations: 76.02 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.9848, allocations: 12.19 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.9848, allocations: 5.219 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.9848, allocations: 1.656 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.9848, allocations: 1.844 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.9848, allocations: 5.25 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.9849, allocations: 101.1 kB / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9849, allocations: 0 / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001925/0.9851, allocations: 15.45 kB / 1.19 GB, free: 12.91 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.954e-05/0.9851, allocations: 94.39 kB / 1.19 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.9852, allocations: 19.23 kB / 1.19 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9852, allocations: 0 / 1.19 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.9852, allocations: 4.234 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.9854, allocations: 15.25 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.9857, allocations: 150 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.9858, allocations: 85.27 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.9858, allocations: 3.812 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.9858, allocations: 11.61 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.9858, allocations: 0 / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of Templates: time 0.002702/0.9885, allocations: 340.4 kB / 1.191 GB, free: 12.48 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.26991148199886]