Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.0009175/0.0009175, allocations: 84.8 kB / 20.75 MB, free: 3.742 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.0009326/0.0009326, allocations: 161 kB / 24.17 MB, free: 336 kB / 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 1.093/1.093, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.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 2.066/2.066, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.718e-05, allocations: 7.25 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001521/0.001549, allocations: 0.8726 MB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000121/0.00167, allocations: 42.28 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.001723, allocations: 4 kB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.001758, allocations: 11.86 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.001837, allocations: 14.27 kB / 0.761 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.043e-05/0.001877, allocations: 16.92 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.001973, allocations: 57.05 kB / 0.7611 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.002081, allocations: 39.94 kB / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.002182, allocations: 46.16 kB / 0.7611 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.732e-05/0.002219, allocations: 19.91 kB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.002235, allocations: 10 kB / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-06/0.002242, allocations: 4 kB / 0.7612 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.002261, allocations: 11.94 kB / 0.7612 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.002282, allocations: 15.98 kB / 0.7612 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.793e-05/0.00236, allocations: 39.77 kB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002361, allocations: 0 / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002362, allocations: 0.6562 kB / 0.7612 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002365, allocations: 0 / 0.7612 GB, free: 5.418 MB / 0.7136 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.0002735/0.002639, allocations: 286.4 kB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.002677, allocations: 12.03 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.002706, allocations: 16.92 kB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.00283, allocations: 129.6 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.002839, allocations: 9.547 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.002849, allocations: 12.36 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.757e-05/0.002937, allocations: 78.12 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.002944, allocations: 0.7188 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.002951, allocations: 384 / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.002959, allocations: 5.281 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/0.002989, allocations: 23.86 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.003355, allocations: 0.4938 MB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.609e-05/0.003431, allocations: 181.8 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.003456, allocations: 84.27 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.003475, allocations: 76.31 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.00351, allocations: 105.8 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.003511, allocations: 0.6875 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.246e-05/0.003563, allocations: 33.69 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.003605, allocations: 128.5 kB / 0.7628 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.0037, allocations: 145 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.003708, allocations: 25.7 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.003765, allocations: 135.7 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.003767, allocations: 0 / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.003794, allocations: 27.58 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.003874, allocations: 322.8 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-06/0.003881, allocations: 7.938 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.003911, allocations: 54.91 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.003966, allocations: 73.47 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.003968, allocations: 1.75 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.57e-05/0.004053, allocations: 70.48 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.004066, allocations: 8 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00407, allocations: 3.938 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.004084, allocations: 4.812 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.004128, allocations: 12 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.004134, allocations: 4.734 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.004156, allocations: 7.938 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.00416, allocations: 4.875 kB / 0.7637 GB, free: 2.664 MB / 0.7136 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.294e-05/0.004233, allocations: 197.5 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.004278, allocations: 105 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.004315, allocations: 111.8 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/0.004363, allocations: 184.2 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/0.004413, allocations: 180.3 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/0.004466, allocations: 184.2 kB / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.004619, allocations: 337.3 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/0.004645, allocations: 105 kB / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.004675, allocations: 108.9 kB / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-05/0.004732, allocations: 176.3 kB / 0.7653 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.004783, allocations: 182.6 kB / 0.7655 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-05/0.004827, allocations: 180.3 kB / 0.7657 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-05/0.004875, allocations: 184.2 kB / 0.7659 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.004976, allocations: 307.8 kB / 0.7661 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.005032, allocations: 116.9 kB / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.005087, allocations: 180.2 kB / 0.7664 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.018e-05/0.005137, allocations: 106.5 kB / 0.7665 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.005193, allocations: 184.3 kB / 0.7667 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.005221, allocations: 105 kB / 0.7668 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.429e-05/0.005246, allocations: 31 kB / 0.7668 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005246, allocations: 0.875 kB / 0.7668 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001267/0.005373, allocations: 11.95 kB / 0.7668 GB, free: 15.29 MB / 0.7292 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 9.407e-05/0.005467, allocations: 160.8 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.329e-05/0.00554, allocations: 27.64 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.005544, allocations: 4 kB / 0.767 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.005545, allocations: 4 kB / 0.767 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.005763, allocations: 467.6 kB / 0.7675 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.005984, allocations: 220 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.006021, allocations: 59.94 kB / 0.7677 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.006057, allocations: 10.59 kB / 0.7678 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.006087, allocations: 51.38 kB / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.006087, allocations: 1 kB / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.001728/0.007815, allocations: 343.5 kB / 0.7681 GB, free: 13.93 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.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.175682681147009]