Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001507/0.001507, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001261/0.001261, allocations: 165 kB / 24.16 MB, free: 332 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.033/1.033, allocations: 177.1 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 1.858/1.858, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.485e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002349/0.002374, allocations: 0.8289 MB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.002568, allocations: 45.47 kB / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.002632, allocations: 4 kB / 0.7609 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.002676, allocations: 12.73 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.179e-05/0.002767, allocations: 10.17 kB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.043e-05/0.002828, allocations: 20.55 kB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.002955, allocations: 62.62 kB / 0.761 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.00308, allocations: 31.94 kB / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.003211, allocations: 43.41 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.003259, allocations: 19.91 kB / 0.7611 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.003282, allocations: 4 kB / 0.7611 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.003292, allocations: 5.219 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.003315, allocations: 11.94 kB / 0.7611 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.003344, allocations: 19.92 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003451, allocations: 44.64 kB / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003454, allocations: 0 / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.194e-06/0.003456, allocations: 4.969 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.00346, allocations: 0 / 0.7611 GB, free: 5.535 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.000353/0.003813, allocations: 285.5 kB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.00385, allocations: 8.031 kB / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.003889, allocations: 12.92 kB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.004047, allocations: 134.2 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.004062, allocations: 16.25 kB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.004076, allocations: 5.031 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.004192, allocations: 76.97 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004201, allocations: 192 / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.004209, allocations: 384 / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.004217, allocations: 5.062 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.956e-05/0.004256, allocations: 27.86 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.004738, allocations: 0.4951 MB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.582e-05/0.004824, allocations: 173.1 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.004856, allocations: 80.14 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.004881, allocations: 75.28 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.004929, allocations: 115.1 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.00493, allocations: 0 / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.81e-05/0.004998, allocations: 29.7 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.00507, allocations: 131.4 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.005193, allocations: 144.2 kB / 0.7629 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.005202, allocations: 26.58 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.005275, allocations: 131.7 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.005278, allocations: 0.6562 kB / 0.763 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.005318, allocations: 29.66 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.005421, allocations: 324.7 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.005433, allocations: 4 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.005483, allocations: 54.84 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.00556, allocations: 69.38 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.005563, allocations: 0 / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000126/0.005689, allocations: 76.61 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.005704, allocations: 8 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.00571, allocations: 0 / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.005725, allocations: 4 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.005791, allocations: 19.92 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.005796, allocations: 2.75 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.005846, allocations: 15.92 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.005854, allocations: 4 kB / 0.7636 GB, free: 2.781 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 9.372e-05/0.005948, allocations: 189.1 kB / 0.7638 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.006003, allocations: 108.9 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.00605, allocations: 116.7 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/0.006101, allocations: 185.9 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.754e-05/0.006149, allocations: 176.3 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.193e-05/0.006201, allocations: 176.3 kB / 0.7645 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.006393, allocations: 337.3 kB / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.006427, allocations: 105 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.006461, allocations: 109.9 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.349e-05/0.006515, allocations: 180.3 kB / 0.7652 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.006576, allocations: 181.1 kB / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-05/0.006636, allocations: 188.2 kB / 0.7656 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.124e-05/0.006687, allocations: 180.2 kB / 0.7658 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.006814, allocations: 308.5 kB / 0.7661 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.006871, allocations: 116.9 kB / 0.7662 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.006954, allocations: 186.2 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.007025, allocations: 101.3 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.007085, allocations: 184.2 kB / 0.7666 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.007117, allocations: 105 kB / 0.7667 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.007157, allocations: 31.05 kB / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007157, allocations: 0.6562 kB / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002428/0.007399, allocations: 15.95 kB / 0.7668 GB, free: 15.4 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 0.0001352/0.007535, allocations: 152.9 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.007613, allocations: 31.86 kB / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.007619, allocations: 0 / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.007622, allocations: 7.984 kB / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.007925, allocations: 463.6 kB / 0.7674 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.00823, allocations: 224 kB / 0.7676 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.008272, allocations: 59.34 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.324e-05/0.008315, allocations: 7.172 kB / 0.7677 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.008355, allocations: 56.55 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of SimCode: time 6.82e-07/0.008355, allocations: 0 / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.002504/0.01086, allocations: 335.2 kB / 0.768 GB, free: 14.05 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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.060853865928948]