Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001912/0.001912, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001837/0.001837, allocations: 186 kB / 20.78 MB, free: 1.547 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.6/1.6, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.927/2.927, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239/1.241, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002746/1.244, allocations: 0.8496 MB / 1.273 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/1.244, allocations: 40.77 kB / 1.273 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/1.244, allocations: 0.8438 kB / 1.273 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/1.244, allocations: 10.55 kB / 1.273 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/1.244, allocations: 10.11 kB / 1.273 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.893e-05/1.245, allocations: 20.56 kB / 1.273 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/1.245, allocations: 58.73 kB / 1.273 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/1.245, allocations: 31.31 kB / 1.273 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/1.245, allocations: 30.27 kB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/1.245, allocations: 33.75 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/1.245, allocations: 6.594 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/1.245, allocations: 6 kB / 1.273 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/1.245, allocations: 17.27 kB / 1.273 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/1.245, allocations: 32.06 kB / 1.273 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/1.245, allocations: 69.39 kB / 1.273 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.245, allocations: 4.719 kB / 1.273 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/1.245, allocations: 0 / 1.273 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.245, allocations: 3.938 kB / 1.273 GB, free: 7.156 MB / 0.9981 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.0005071/1.246, allocations: 380.8 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.246, allocations: 9.844 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/1.246, allocations: 13.39 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/1.246, allocations: 196.8 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.246, allocations: 3.219 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/1.246, allocations: 9.594 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/1.246, allocations: 103 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.246, allocations: 5.156 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/1.246, allocations: 4.938 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.246, allocations: 1.531 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/1.247, allocations: 34.27 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/1.247, allocations: 439.3 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/1.247, allocations: 41.12 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/1.247, allocations: 14.84 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/1.247, allocations: 1.094 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1.247, allocations: 41.89 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/1.247, allocations: 3.984 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/1.247, allocations: 59.62 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.248, allocations: 78.53 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/1.248, allocations: 159.3 kB / 1.275 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/1.248, allocations: 25.7 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/1.248, allocations: 112.8 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/1.248, allocations: 5.016 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/1.248, allocations: 18.06 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/1.248, allocations: 321.1 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/1.248, allocations: 6.781 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/1.248, allocations: 20.83 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/1.248, allocations: 26.19 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.248, allocations: 0 / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.1e-05/1.248, allocations: 60.59 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.248, allocations: 9.688 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/1.248, allocations: 8.938 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.248, allocations: 0 / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/1.248, allocations: 10.03 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.248, allocations: 1.062 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/1.248, allocations: 6.031 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/1.248, allocations: 1.062 kB / 1.275 GB, free: 5.066 MB / 0.9981 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 6.518e-05/1.248, allocations: 114.1 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.248, allocations: 13.09 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/1.248, allocations: 19.92 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.248, allocations: 1 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.248, allocations: 1.188 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.248, allocations: 2.016 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/1.249, allocations: 470.9 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.249, allocations: 0 / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/1.249, allocations: 7.656 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.249, allocations: 1.25 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/1.249, allocations: 4 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.249, allocations: 1.031 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.249, allocations: 1.094 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.778e-05/1.249, allocations: 80.31 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/1.249, allocations: 86.45 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/1.249, allocations: 1.75 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/1.249, allocations: 13 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/1.249, allocations: 2.359 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.249, allocations: 0.9688 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001001/1.249, allocations: 120.9 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.249, allocations: 0 / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001909/1.249, allocations: 7.25 kB / 1.276 GB, free: 4.148 MB / 0.9981 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.0001348/1.249, allocations: 99.02 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001199/1.25, allocations: 21.28 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.25, allocations: 0.9062 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/1.25, allocations: 8.609 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.25, allocations: 11.03 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/1.25, allocations: 172.6 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/1.25, allocations: 0.6965 MB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.19e-05/1.25, allocations: 6.547 kB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/1.25, allocations: 19.25 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.25, allocations: 0 / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of Templates: time 0.003395/1.254, allocations: 472.5 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.877767955884337]