Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001986/0.001986, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.002655/0.002655, allocations: 163.5 kB / 23.01 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.515/1.515, 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.014/3.014, allocations: 394.2 MB / 0.6387 GB, free: 11.94 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [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.00242/0.00242, allocations: 71.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002107/1.053, allocations: 0.7998 MB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/1.054, allocations: 40.91 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/1.054, allocations: 0.9375 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/1.054, allocations: 10.56 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/1.054, allocations: 13.3 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.298e-05/1.054, allocations: 16.81 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/1.054, allocations: 68.59 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/1.054, allocations: 33.33 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/1.054, allocations: 22.77 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/1.054, allocations: 22.38 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/1.054, allocations: 10.31 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/1.054, allocations: 6.719 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/1.054, allocations: 15.75 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/1.054, allocations: 25.58 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/1.054, allocations: 83.55 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.054, allocations: 4.75 kB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/1.054, allocations: 0 / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.159e-05/1.054, 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.0004601/1.055, allocations: 300.9 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.055, allocations: 9.312 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/1.055, allocations: 13.56 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.055, allocations: 137 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/1.055, allocations: 8.75 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/1.055, allocations: 4.656 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/1.055, allocations: 97.27 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.055, allocations: 6.438 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.055, allocations: 3.938 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.055, allocations: 2.75 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/1.056, allocations: 43.23 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/1.056, allocations: 357.3 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/1.056, allocations: 38.3 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/1.056, allocations: 19.5 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/1.056, allocations: 1.641 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.056, allocations: 36.08 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.056, allocations: 1.562 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/1.056, allocations: 54.38 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/1.056, allocations: 79.52 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/1.056, allocations: 128 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/1.056, allocations: 25.7 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/1.056, allocations: 110.1 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/1.056, allocations: 12.59 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/1.056, allocations: 15.27 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/1.056, allocations: 318.5 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/1.056, allocations: 8.219 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/1.056, allocations: 24.25 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/1.057, allocations: 23.92 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.057, allocations: 0 / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.082e-05/1.057, allocations: 60.05 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.057, allocations: 5.344 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.057, allocations: 1.469 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.057, allocations: 9.766 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/1.057, allocations: 9.391 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.057, allocations: 1.844 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/1.057, allocations: 5.172 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/1.057, allocations: 5.188 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.663e-05/1.057, allocations: 114.2 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/1.057, allocations: 3.438 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/1.057, allocations: 15.56 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/1.057, allocations: 0 / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.057, allocations: 1.125 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.057, allocations: 1.75 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/1.057, allocations: 415.6 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.057, allocations: 5.609 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/1.057, allocations: 4.203 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/1.057, allocations: 3.938 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/1.057, allocations: 1.094 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.057, allocations: 1.891 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.057, allocations: 0 / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.02e-05/1.057, allocations: 68.58 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/1.057, allocations: 17.34 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/1.057, allocations: 6.062 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/1.057, allocations: 0 / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/1.057, allocations: 1.875 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/1.057, allocations: 0.7812 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.162e-05/1.057, allocations: 100.6 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.057, allocations: 0 / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000189/1.058, allocations: 19.2 kB / 1.19 GB, free: 12.94 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.101e-05/1.058, allocations: 98.62 kB / 1.19 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.671e-05/1.058, allocations: 18.81 kB / 1.19 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.058, allocations: 1.375 kB / 1.19 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/1.058, allocations: 7.906 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/1.058, allocations: 11.16 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/1.058, allocations: 149.5 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.836e-05/1.058, allocations: 88.17 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.079e-05/1.058, allocations: 9.328 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/1.058, allocations: 10.69 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.058, allocations: 0 / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of Templates: time 0.002767/1.061, allocations: 332.8 kB / 1.191 GB, free: 12.51 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.248970231972635]