Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001599/0.001599, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001746/0.001746, allocations: 216 kB / 22.99 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.285/3.285, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002113/0.002113, allocations: 66.11 kB / 1.187 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 181.9 MB / 1.365 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002217/0.3493, allocations: 0.7893 MB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.3494, allocations: 43.78 kB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.3494, allocations: 0 / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.3495, allocations: 11.88 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.3496, allocations: 7.938 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.737e-05/0.3496, allocations: 19.97 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3497, allocations: 67.78 kB / 1.366 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3499, allocations: 27.97 kB / 1.366 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.35, allocations: 27.86 kB / 1.366 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.35, allocations: 19.86 kB / 1.366 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3501, allocations: 8 kB / 1.366 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.3501, allocations: 4 kB / 1.366 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.3501, allocations: 19.92 kB / 1.366 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.3501, allocations: 27.81 kB / 1.366 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3503, allocations: 87.5 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3503, allocations: 0 / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3503, allocations: 0 / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3503, allocations: 0 / 1.366 GB, free: 12.59 MB / 1.061 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.000471/0.3508, allocations: 298 kB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3508, allocations: 12.03 kB / 1.366 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3508, allocations: 12.84 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.351, allocations: 138.3 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3511, allocations: 4.375 kB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3511, allocations: 12.38 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3512, allocations: 97.56 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3513, allocations: 4.172 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3513, allocations: 7.938 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3513, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.816e-05/0.3514, allocations: 39.92 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3519, allocations: 356.4 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.352, allocations: 37.28 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.352, allocations: 25.84 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.352, allocations: 0 / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3521, allocations: 30.56 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.3521, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.3522, allocations: 61.45 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.3523, allocations: 81.11 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.3524, allocations: 131.8 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3525, allocations: 25.7 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.3525, allocations: 107.9 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.3526, allocations: 8.203 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3526, allocations: 17.72 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3528, allocations: 322.8 kB / 1.368 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.3528, allocations: 7.938 kB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.3528, allocations: 17.72 kB / 1.368 GB, free: 10.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.3528, allocations: 21.72 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3529, allocations: 0 / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.495e-05/0.3529, allocations: 57.62 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.353, allocations: 8 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.353, allocations: 4.062 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.353, allocations: 3.938 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.353, allocations: 4 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3531, allocations: 4 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.3531, allocations: 3.953 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.3531, allocations: 0 / 1.368 GB, free: 10.46 MB / 1.061 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 9.904e-05/0.3532, allocations: 122.9 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3532, allocations: 4 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.3532, allocations: 11.41 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3533, allocations: 4 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3533, allocations: 8 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3533, allocations: 3.938 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.3537, allocations: 414.4 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3537, allocations: 3.938 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.3537, allocations: 7.938 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3537, allocations: 0 / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3537, allocations: 0 / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3537, allocations: 0 / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3537, allocations: 4 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.792e-05/0.3538, allocations: 74.05 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.3538, allocations: 11.89 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3538, allocations: 4 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.3539, allocations: 7.922 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.3539, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3539, allocations: 4 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.3539, allocations: 103.2 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3539, allocations: 0 / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001926/0.3541, allocations: 15.95 kB / 1.368 GB, free: 9.59 MB / 1.061 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.0001123/0.3543, allocations: 91.25 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.3543, allocations: 24.02 kB / 1.369 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.3544, allocations: 0 / 1.369 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.3544, allocations: 7.938 kB / 1.369 GB, free: 9.461 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.3545, allocations: 7.938 kB / 1.369 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.3549, allocations: 172.5 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.373e-05/0.3549, allocations: 87.36 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.355, allocations: 15.44 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.355, allocations: 0 / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of Templates: time 0.002263/0.3572, allocations: 0.7947 MB / 1.37 GB, free: 8.328 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 11.109598533716053]