Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001562/0.001562, allocations: 79.03 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.001687/0.001687, allocations: 164.3 kB / 23.02 MB, free: 4.941 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.545/1.545, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.918/2.918, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002121/0.002121, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9617/0.9638, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00209/0.9659, allocations: 0.7915 MB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.966, allocations: 47.69 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.9661, allocations: 6.5 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.9661, allocations: 7.938 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.9662, allocations: 7.875 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.64e-05/0.9662, allocations: 23.89 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.9664, allocations: 59.2 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.9665, allocations: 37.42 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.9666, allocations: 29.86 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.9666, allocations: 24.78 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.9667, allocations: 7.781 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.9667, allocations: 5.219 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.9667, allocations: 10.44 kB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.9667, allocations: 28.62 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.9668, allocations: 82.44 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9669, allocations: 0 / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9669, allocations: 0 / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.9669, allocations: 0 / 1.155 GB, free: 32.61 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.0004447/0.9673, allocations: 309.2 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.9674, allocations: 8.031 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.9674, allocations: 10.58 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.9676, allocations: 136.3 kB / 1.155 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.9676, allocations: 7.156 kB / 1.155 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.9677, allocations: 10.12 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.9678, allocations: 96.66 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9678, allocations: 3 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.9678, allocations: 7.938 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.9678, allocations: 2.469 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.9679, allocations: 34.09 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.9683, allocations: 359.3 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.9684, allocations: 35.72 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.9684, allocations: 18.94 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.9684, allocations: 6.562 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.9685, allocations: 34.22 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9685, allocations: 2.469 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.9686, allocations: 55.84 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.9687, allocations: 79.7 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.9688, allocations: 127 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.9688, allocations: 25.7 kB / 1.156 GB, free: 31.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.9689, allocations: 115.3 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.9689, allocations: 10.67 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.9689, allocations: 20.53 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.969, allocations: 316.8 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.969, allocations: 6.688 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.969, allocations: 18.84 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.969, allocations: 33.38 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.969, allocations: 3.938 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.56e-05/0.9691, allocations: 55.45 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9691, allocations: 5.812 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9691, allocations: 4.062 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.9691, allocations: 6.75 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.9692, allocations: 12.83 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9692, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.9692, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.9692, allocations: 7.094 kB / 1.157 GB, free: 30.78 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.4e-05/0.9693, allocations: 109.3 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.9693, allocations: 6.828 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.9693, allocations: 14.44 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.9693, allocations: 3.516 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9694, allocations: 4 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9694, allocations: 2.844 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.9696, allocations: 405.8 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9696, allocations: 6.781 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.9696, allocations: 2.969 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9696, allocations: 3.938 kB / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.9696, allocations: 0 / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9696, allocations: 0 / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9696, allocations: 2.938 kB / 1.157 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.399e-05/0.9697, allocations: 85.2 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.9697, allocations: 11.11 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.9697, allocations: 3.422 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.9698, allocations: 2.844 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.9698, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.9698, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.9698, allocations: 101.6 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9698, allocations: 0 / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001881/0.97, allocations: 9.844 kB / 1.158 GB, free: 30.04 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 0.0001184/0.9701, allocations: 101.3 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.87e-05/0.9702, allocations: 20.06 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9702, allocations: 0 / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.9702, allocations: 6.5 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.9704, allocations: 14.62 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.9707, allocations: 155 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.9708, allocations: 86.45 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.9708, allocations: 6.812 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.9708, allocations: 8.5 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9708, allocations: 2.906 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of Templates: time 0.002703/0.9735, allocations: 321.9 kB / 1.158 GB, free: 29.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.24360948393587]