Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.001189/0.001189, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002017/0.003206, allocations: 449.8 kB / 10.44 MB, free: 252 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.000929/0.000929, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002163, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.968/0.968, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.851/1.851, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5271/2.378, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.774e-05, allocations: 9.406 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001268/0.001286, allocations: 0.8781 MB / 0.7305 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.278e-05/0.001369, allocations: 51.03 kB / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.001407, allocations: 0 / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.001434, allocations: 7.922 kB / 0.7306 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.001478, allocations: 13.62 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.443e-05/0.001512, allocations: 24.73 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.001598, allocations: 57.05 kB / 0.7307 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.001693, allocations: 29.36 kB / 0.7307 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.00178, allocations: 56.52 kB / 0.7308 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.001819, allocations: 13.67 kB / 0.7308 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.001837, allocations: 4 kB / 0.7308 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.001846, allocations: 8.625 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.001864, allocations: 7.938 kB / 0.7308 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.001887, allocations: 16.84 kB / 0.7308 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.001973, allocations: 47.77 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.001985, allocations: 0 / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.001986, allocations: 0.6562 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.001994, allocations: 0.9375 kB / 0.7308 GB, free: 3.27 MB / 0.698 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.0003654/0.00236, allocations: 288.3 kB / 0.7311 GB, free: 2.961 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.002396, allocations: 8.625 kB / 0.7311 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.002426, allocations: 12.92 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.002567, allocations: 142.2 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.002576, allocations: 4.375 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.002589, allocations: 12.94 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.00269, allocations: 77.81 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.002697, allocations: 4.125 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.002704, allocations: 384 / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.002709, allocations: 5.375 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.002737, allocations: 15.94 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.00312, allocations: 0.5105 MB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/0.003197, allocations: 173.3 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.00322, allocations: 80.14 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.003242, allocations: 75.28 kB / 0.7322 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.003281, allocations: 110.7 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.003282, allocations: 0 / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.17e-05/0.003334, allocations: 26.2 kB / 0.7323 GB, free: 1.625 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.003376, allocations: 130.7 kB / 0.7325 GB, free: 1.484 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.003462, allocations: 154.4 kB / 0.7326 GB, free: 1.324 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.003472, allocations: 29.7 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.003524, allocations: 119.8 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/0.003527, allocations: 0 / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.003554, allocations: 26.55 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.003635, allocations: 326.8 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.00364, allocations: 0 / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.003672, allocations: 63.91 kB / 0.7331 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.003725, allocations: 69.67 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.003726, allocations: 0 / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.658e-05/0.003813, allocations: 83.27 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.003826, allocations: 4 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.003831, allocations: 4.594 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.003841, allocations: 0.5312 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.00389, allocations: 13.03 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.003894, allocations: 4 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.003917, allocations: 11.92 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.003921, allocations: 4.531 kB / 0.7333 GB, free: 0.5078 MB / 0.698 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.021e-05/0.003991, allocations: 198.6 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.004026, allocations: 101 kB / 0.7336 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.004075, allocations: 116.7 kB / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.499e-05/0.00414, allocations: 192.2 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.734e-05/0.004187, allocations: 177.5 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.704e-05/0.004234, allocations: 180.2 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.00438, allocations: 337.3 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/0.004412, allocations: 106 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.00444, allocations: 105 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.004482, allocations: 108.9 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003773/0.004859, allocations: 189.1 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.004908, allocations: 176.3 kB / 0.7352 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.473e-05/0.004953, allocations: 180.2 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.113e-05/0.005004, allocations: 185 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.005118, allocations: 308.5 kB / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.005169, allocations: 184.2 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.005218, allocations: 105.7 kB / 0.7361 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.00527, allocations: 180.3 kB / 0.7363 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.005298, allocations: 109.7 kB / 0.7364 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.494e-05/0.005323, allocations: 26.72 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005323, allocations: 1.375 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001268/0.00545, allocations: 11.95 kB / 0.7365 GB, free: 13.13 MB / 0.7136 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 8.58e-05/0.005536, allocations: 156.9 kB / 0.7366 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.084e-05/0.005596, allocations: 30.02 kB / 0.7366 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.005602, allocations: 4 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.005605, allocations: 3.938 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.005821, allocations: 480.8 kB / 0.7371 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.006057, allocations: 224.6 kB / 0.7373 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.006093, allocations: 60.28 kB / 0.7374 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.006129, allocations: 15.45 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.006162, allocations: 55.38 kB / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/0.006162, allocations: 0 / 0.7374 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.001824/0.007986, allocations: 266.2 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.871488364413381]