Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001697/0.001697, allocations: 81.7 kB / 19.76 MB, free: 2.02 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.002077/0.002077, allocations: 162.2 kB / 23.02 MB, free: 4.945 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.529/1.529, allocations: 177.2 MB / 203.4 MB, free: 8.953 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 3.105/3.105, allocations: 394.2 MB / 0.6386 GB, free: 11.96 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [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.002162/0.002162, allocations: 70.22 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002247/1.052, allocations: 0.7875 MB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/1.052, allocations: 45.53 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/1.052, allocations: 1.344 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/1.052, allocations: 9.094 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/1.052, allocations: 10.42 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.25e-05/1.053, allocations: 20.67 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/1.053, allocations: 60.02 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/1.053, allocations: 31.19 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/1.053, allocations: 32.22 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/1.053, allocations: 25.83 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/1.053, allocations: 18.06 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/1.053, allocations: 6.438 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/1.053, allocations: 15.92 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/1.053, allocations: 24.56 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/1.053, allocations: 71.17 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.053, allocations: 1.656 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/1.053, allocations: 0 / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.053, allocations: 0 / 1.188 GB, free: 15.51 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.0004193/1.054, allocations: 300.5 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.054, allocations: 9.938 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/1.054, allocations: 20.5 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.054, allocations: 145.7 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/1.054, allocations: 4.125 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/1.054, allocations: 8.969 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/1.054, allocations: 97.78 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.054, allocations: 192 / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/1.054, allocations: 9.25 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.054, allocations: 2.625 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/1.054, allocations: 35.77 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/1.055, allocations: 356.2 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/1.055, allocations: 43.05 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/1.055, allocations: 16.02 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/1.055, allocations: 0 / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/1.055, allocations: 41.64 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/1.055, allocations: 0 / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/1.055, allocations: 55.53 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/1.055, allocations: 78.98 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/1.055, allocations: 123.9 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/1.055, allocations: 35.08 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/1.055, allocations: 109.7 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/1.055, allocations: 10.28 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/1.055, allocations: 17.03 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.716e-05/1.055, allocations: 319.5 kB / 1.189 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/1.055, allocations: 3.812 kB / 1.189 GB, free: 13.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/1.055, allocations: 20.7 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/1.055, allocations: 27.09 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.055, allocations: 0 / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.17e-05/1.055, allocations: 56.83 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.055, allocations: 4.906 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.055, allocations: 0.8125 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.055, allocations: 9.031 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/1.055, allocations: 6.562 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/1.055, allocations: 5.281 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/1.055, allocations: 5.016 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/1.055, allocations: 2.344 kB / 1.19 GB, free: 13.68 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.852e-05/1.055, allocations: 118.8 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/1.056, allocations: 6.531 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/1.056, allocations: 15.16 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/1.056, allocations: 0 / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.056, allocations: 1.766 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.056, allocations: 1.156 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/1.056, allocations: 412.6 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.056, allocations: 3.938 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/1.056, allocations: 4.375 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.056, allocations: 1.062 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/1.056, allocations: 1.188 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.056, allocations: 4.859 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.056, allocations: 5.156 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.99e-05/1.056, allocations: 76.34 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/1.056, allocations: 12.48 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/1.056, allocations: 1.656 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.78e-05/1.056, allocations: 0.7031 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/1.056, allocations: 1.969 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/1.056, allocations: 1.406 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.903e-05/1.056, allocations: 103.7 kB / 1.19 GB, free: 12.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.056, allocations: 0 / 1.19 GB, free: 12.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001884/1.056, allocations: 19.92 kB / 1.19 GB, free: 12.93 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 9.725e-05/1.056, allocations: 93.83 kB / 1.19 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.181e-05/1.056, allocations: 19.61 kB / 1.19 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.056, allocations: 0 / 1.19 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/1.056, allocations: 9.219 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/1.057, allocations: 9.656 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/1.057, allocations: 154 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.406e-05/1.057, allocations: 87.44 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.241e-05/1.057, allocations: 5.344 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/1.057, allocations: 11.03 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.057, allocations: 0 / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of Templates: time 0.00277/1.06, allocations: 325 kB / 1.191 GB, free: 12.5 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.387539160903543]