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.0007749/0.0007749, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001843, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0008245/0.0008245, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001825, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9638/0.9638, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.073, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.535/2.535, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2816/2.816, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.329e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001519/0.001543, allocations: 0.8636 MB / 0.8192 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 8.828e-05/0.001631, allocations: 47.72 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.001668, allocations: 0 / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.001699, allocations: 7.875 kB / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-05/0.001747, allocations: 15.88 kB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.253e-05/0.00178, allocations: 19.97 kB / 0.8192 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.001862, allocations: 55.8 kB / 0.8193 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.001965, allocations: 47.89 kB / 0.8193 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.002048, allocations: 43.84 kB / 0.8194 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.002087, allocations: 23.91 kB / 0.8194 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.002106, allocations: 4 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.002114, allocations: 8 kB / 0.8194 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.002128, allocations: 7.938 kB / 0.8194 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.002161, allocations: 15.94 kB / 0.8194 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.381e-05/0.002255, allocations: 39.73 kB / 0.8195 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.002271, allocations: 0 / 0.8195 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.633e-06/0.002273, allocations: 0 / 0.8195 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.002286, allocations: 0 / 0.8195 GB, free: 1.688 MB / 0.7917 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.0003298/0.002616, allocations: 296.3 kB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.002649, allocations: 12.62 kB / 0.8198 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.002674, allocations: 12.94 kB / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.002795, allocations: 129.6 kB / 0.8199 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.002805, allocations: 12.28 kB / 0.8199 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.002814, allocations: 4.375 kB / 0.8199 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.002904, allocations: 79.92 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.00291, allocations: 192 / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.002918, allocations: 4.375 kB / 0.82 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.002923, allocations: 4.375 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.002952, allocations: 23.86 kB / 0.82 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.003297, allocations: 0.501 MB / 0.8205 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.003358, allocations: 169.3 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.003382, allocations: 88.08 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.003668, allocations: 75.28 kB / 0.8208 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.003715, allocations: 109.8 kB / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.003716, allocations: 0 / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 7.126e-05/0.003788, allocations: 29.69 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.003863, allocations: 142.6 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.003963, allocations: 138.6 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.00397, allocations: 25.7 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.004024, allocations: 131.7 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.004029, allocations: 0 / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.004059, allocations: 29.66 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.004135, allocations: 326.8 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.004142, allocations: 3.938 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.004174, allocations: 50.88 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.234e-05/0.004236, allocations: 78.77 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.004238, allocations: 0 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.382e-05/0.004332, allocations: 65.55 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.004347, allocations: 11.94 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.004352, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004362, allocations: 4.25 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.00442, allocations: 16 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.004425, allocations: 7.984 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.004451, allocations: 15.88 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.004455, allocations: 4 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 7.119e-05/0.004526, allocations: 189.1 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.004562, allocations: 105 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.004603, allocations: 120.8 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-05/0.004643, allocations: 180.2 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.882e-05/0.004682, allocations: 180.3 kB / 0.8227 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/0.00472, allocations: 180.2 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.00486, allocations: 337.4 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.004884, allocations: 105 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.004909, allocations: 108.9 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.004954, allocations: 112.9 kB / 0.8235 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.153e-05/0.004995, allocations: 180.2 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.005032, allocations: 180.3 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-05/0.005077, allocations: 180.2 kB / 0.824 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.15e-05/0.005118, allocations: 184.2 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.005215, allocations: 307.7 kB / 0.8245 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.005271, allocations: 184.2 kB / 0.8247 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.005317, allocations: 112.9 kB / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.00537, allocations: 176.3 kB / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.005403, allocations: 105 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.005439, allocations: 27.41 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005439, allocations: 0 / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001421/0.005581, allocations: 15.95 kB / 0.8251 GB, free: 11.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.00013/0.005711, allocations: 159.6 kB / 0.8252 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.673e-05/0.005788, allocations: 25.17 kB / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.005794, allocations: 4.125 kB / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.005795, allocations: 0 / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.006028, allocations: 475.6 kB / 0.8257 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.006309, allocations: 220.4 kB / 0.8259 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.24e-05/0.006341, allocations: 59.34 kB / 0.826 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.006378, allocations: 4.734 kB / 0.826 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.00641, allocations: 55.36 kB / 0.8261 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of SimCode: time 1.142e-06/0.006412, allocations: 8 kB / 0.8261 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.001932/0.008343, allocations: 348.6 kB / 0.8264 GB, free: 10.12 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.524965511634946]