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.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.001352/0.001352, allocations: 116.1 kB / 17.08 MB, free: 5.988 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.001361/0.001361, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.48/1.48, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.233/3.233, allocations: 489.3 MB / 0.7687 GB, free: 3.734 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002087/0.002088, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001957/1.018, allocations: 0.831 MB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000112/1.018, allocations: 41.34 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/1.018, allocations: 1.219 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/1.018, allocations: 10.52 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/1.018, allocations: 17.67 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.722e-05/1.018, allocations: 18.72 kB / 1.263 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/1.018, allocations: 63.86 kB / 1.264 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/1.019, allocations: 36.73 kB / 1.264 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/1.019, allocations: 23.34 kB / 1.264 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/1.019, allocations: 30.48 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/1.019, allocations: 6.188 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/1.019, allocations: 6.531 kB / 1.264 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/1.019, allocations: 19.64 kB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/1.019, allocations: 36.97 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/1.019, allocations: 76.8 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.019, allocations: 0.6562 kB / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.019, allocations: 0 / 1.264 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.859e-06/1.019, allocations: 0.7188 kB / 1.264 GB, free: 7.258 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.000375/1.019, allocations: 380.8 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.019, allocations: 8.969 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/1.019, allocations: 10.03 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/1.02, allocations: 200.6 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/1.02, allocations: 7 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/1.02, allocations: 9.656 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/1.02, allocations: 95.02 kB / 1.264 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.02, allocations: 4.125 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.02, allocations: 8.75 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.02, allocations: 3.203 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/1.02, allocations: 31.75 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/1.02, allocations: 437.7 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/1.021, allocations: 41.7 kB / 1.265 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/1.021, allocations: 20.81 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/1.021, allocations: 0.8438 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/1.021, allocations: 40.88 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.021, allocations: 0 / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/1.021, allocations: 52.97 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.021, allocations: 81.89 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/1.021, allocations: 160.7 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/1.021, allocations: 25.7 kB / 1.265 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/1.021, allocations: 107.8 kB / 1.265 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/1.021, allocations: 14.09 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/1.021, allocations: 14.02 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/1.021, allocations: 319.6 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/1.021, allocations: 7.984 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/1.021, allocations: 16.44 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/1.021, allocations: 31.98 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.021, allocations: 0 / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.9e-05/1.021, allocations: 57.27 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.021, allocations: 5.531 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.021, allocations: 4.906 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.021, allocations: 1.969 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/1.021, allocations: 5.703 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.021, allocations: 4.719 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/1.022, allocations: 10.61 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/1.022, allocations: 12.69 kB / 1.266 GB, free: 5.164 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 5.428e-05/1.022, allocations: 115.1 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/1.022, allocations: 7.516 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/1.022, allocations: 16.72 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.022, allocations: 5.516 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.022, allocations: 0.7812 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.022, allocations: 4.781 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/1.022, allocations: 474.4 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.022, allocations: 0.8125 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/1.022, allocations: 3.734 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.022, allocations: 0.7812 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/1.022, allocations: 1.5 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.022, allocations: 0.7812 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.022, allocations: 0.8438 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.945e-05/1.022, allocations: 85.23 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/1.022, allocations: 90.55 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/1.022, allocations: 1.531 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/1.022, allocations: 1.453 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/1.022, allocations: 1.562 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/1.022, allocations: 1.594 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.626e-05/1.022, allocations: 117.9 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.022, allocations: 0 / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001845/1.023, allocations: 11.12 kB / 1.267 GB, free: 4.254 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.0001117/1.023, allocations: 104 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.953e-05/1.023, allocations: 20.28 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.023, allocations: 0 / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/1.023, allocations: 4.578 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/1.023, allocations: 18.61 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/1.023, allocations: 186.5 kB / 1.267 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/1.023, allocations: 0.6928 MB / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/1.023, allocations: 11.47 kB / 1.268 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/1.023, allocations: 0 / 1.268 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.002722/1.026, allocations: 0.8695 MB / 1.269 GB, free: 3.18 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.54607519088313]