Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00141/0.00141, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001477/0.001477, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.535/1.535, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.88 kB / 1.057 GB, free: 1.996 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3255, allocations: 160.7 MB / 1.214 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002135/0.3277, allocations: 0.8291 MB / 1.215 GB, free: 132 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.3278, allocations: 35.84 kB / 1.215 GB, free: 96 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.3278, allocations: 4 kB / 1.215 GB, free: 92 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.3279, allocations: 7.875 kB / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.31e-05/0.3279, allocations: 19.86 kB / 1.215 GB, free: 64 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.279e-05/0.328, allocations: 15.98 kB / 1.215 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3281, allocations: 59.84 kB / 1.215 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3283, allocations: 35.97 kB / 1.215 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.3283, allocations: 31.8 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.3284, allocations: 23.86 kB / 1.215 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3284, allocations: 8 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.3284, allocations: 4 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.3284, allocations: 27.91 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.3285, allocations: 27.81 kB / 1.215 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3286, allocations: 79.52 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3286, allocations: 0 / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3286, allocations: 0 / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3286, allocations: 3.938 kB / 1.215 GB, free: 15.75 MB / 0.9669 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.0004732/0.3291, allocations: 379.1 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3291, allocations: 8.031 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3291, allocations: 20.83 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3294, allocations: 192.2 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3294, allocations: 12.36 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3294, allocations: 8.312 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3295, allocations: 97.92 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.3296, allocations: 192 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3296, allocations: 7.938 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3296, allocations: 0 / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.3297, allocations: 39.91 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.3303, allocations: 436.8 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.3303, allocations: 37.19 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.3304, allocations: 21.84 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.3304, allocations: 4 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3304, allocations: 30.56 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3304, allocations: 0 / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.00018/0.3306, allocations: 57.52 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3306, allocations: 81.11 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3308, allocations: 162.2 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3308, allocations: 29.7 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.3309, allocations: 100.1 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.3309, allocations: 11.89 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.3309, allocations: 17.67 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3311, allocations: 322.8 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.3311, allocations: 4 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.3311, allocations: 17.72 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.3312, allocations: 37.64 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3312, allocations: 0 / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.685e-05/0.3313, allocations: 53.59 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3313, allocations: 8 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3313, allocations: 7.875 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3313, allocations: 0 / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.3314, allocations: 7.984 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.3314, allocations: 8 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3314, allocations: 8.062 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3314, allocations: 4 kB / 1.217 GB, free: 13.3 MB / 0.9669 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 8.789e-05/0.3315, allocations: 109.8 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3315, allocations: 7.953 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.3316, allocations: 11.81 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3316, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3316, allocations: 7.984 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3316, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.332, allocations: 482.7 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.332, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.3321, allocations: 7.938 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3321, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.3321, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3321, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3321, allocations: 3.938 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.3322, allocations: 81.94 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.3322, allocations: 89.06 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3322, allocations: 4 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.3323, allocations: 0 / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.3323, allocations: 3.984 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.3323, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001093/0.3324, allocations: 121.5 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3324, allocations: 4 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000185/0.3326, allocations: 11.94 kB / 1.218 GB, free: 12.26 MB / 0.9669 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.0001292/0.3327, allocations: 99.25 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.3328, allocations: 23.94 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3328, allocations: 0 / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.3328, allocations: 4 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.333, allocations: 12.19 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.3333, allocations: 200.2 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3336, allocations: 0.6889 MB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3337, allocations: 11.44 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3337, allocations: 3.938 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of Templates: time 0.002456/0.3361, allocations: 0.8724 MB / 1.22 GB, free: 10.27 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.625827912939712]