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.0007836/0.0007836, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007923/0.0007923, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8532/0.8532, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.814/1.814, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.204e-05, allocations: 9.172 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001452/0.001484, allocations: 0.7946 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003646/0.001849, allocations: 39.78 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.001899, allocations: 4 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.001938, allocations: 7.875 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.002015, allocations: 7.938 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.436e-05/0.002059, allocations: 19.98 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.002165, allocations: 63.77 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.002308, allocations: 31.91 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.002374, allocations: 39.84 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.002426, allocations: 19.91 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.002452, allocations: 8 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.002459, allocations: 4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.002479, allocations: 19.92 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.002504, allocations: 11.94 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.002608, allocations: 71.75 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00261, allocations: 4 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002611, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.002615, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 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.0003777/0.002993, allocations: 310 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.003035, allocations: 12.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.003067, allocations: 8.891 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.00324, allocations: 137.5 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.003252, allocations: 4.375 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.003265, allocations: 8.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.003398, allocations: 95.86 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.003407, allocations: 4.188 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.003417, allocations: 384 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.003423, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.376e-05/0.003487, allocations: 43.86 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.003858, allocations: 348.4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.003908, allocations: 41.34 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.003937, allocations: 17.77 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.003944, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.003965, allocations: 38.56 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.003966, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.004108, allocations: 49.59 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.004145, allocations: 84.98 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.004236, allocations: 132.1 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.004245, allocations: 29.7 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.004299, allocations: 111.9 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.004308, allocations: 3.953 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.004334, allocations: 17.72 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.004413, allocations: 315.1 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.004428, allocations: 12 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/0.004447, allocations: 21.72 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.004483, allocations: 25.7 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004485, allocations: 0 / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.837e-05/0.004543, allocations: 57.69 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.004556, allocations: 5.562 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.004563, allocations: 3.984 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.004576, allocations: 4 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.004631, allocations: 16.05 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.004637, allocations: 3.938 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.004655, allocations: 7.938 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.004659, allocations: 0 / 1.004 GB, free: 9.699 MB / 0.9636 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.853e-05/0.004717, allocations: 117.8 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.004738, allocations: 7.953 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.004756, allocations: 7.406 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004758, allocations: 0 / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.004762, allocations: 4 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.004767, allocations: 7.922 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.00501, allocations: 414.5 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.005012, allocations: 0 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.005023, allocations: 3.984 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005024, allocations: 4 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.00503, allocations: 3.938 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005031, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005032, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.206e-05/0.005094, allocations: 74.73 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.005112, allocations: 11.98 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005124, allocations: 8.031 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.005133, allocations: 7.938 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.005145, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.005146, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.005188, allocations: 99.27 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005188, allocations: 4 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001261/0.005314, allocations: 7.953 kB / 1.005 GB, free: 8.852 MB / 0.9636 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 7.862e-05/0.005393, allocations: 95.25 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.005464, allocations: 19.98 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005465, allocations: 4.062 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.005471, allocations: 7.938 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.005589, allocations: 11.94 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.005857, allocations: 188.2 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.005904, allocations: 77.39 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.005926, allocations: 12.5 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of SimCode: time 7.51e-07/0.005927, allocations: 4.125 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of Templates: time 0.001554/0.00748, allocations: 0.7936 MB / 1.006 GB, free: 7.574 MB / 0.9636 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.457390995696187]