Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0009638/0.0009638, allocations: 80.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.00157/0.00157, allocations: 161 kB / 24.17 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.036/1.036, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.002/2.002, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7601 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.595e-05, allocations: 7.125 kB / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002215/0.002241, allocations: 0.8728 MB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001445/0.002385, allocations: 40.34 kB / 0.761 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.002436, allocations: 4 kB / 0.761 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.002471, allocations: 8.656 kB / 0.761 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.002554, allocations: 13.94 kB / 0.761 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.864e-05/0.002603, allocations: 26.05 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.002707, allocations: 61.05 kB / 0.7611 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.002812, allocations: 28.62 kB / 0.7611 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.002919, allocations: 53.67 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.002957, allocations: 15.91 kB / 0.7612 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.002975, allocations: 8 kB / 0.7612 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.002982, allocations: 5.594 kB / 0.7612 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.003002, allocations: 15.92 kB / 0.7612 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.003025, allocations: 15.94 kB / 0.7612 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.933e-05/0.003114, allocations: 39.83 kB / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003116, allocations: 1.25 kB / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003117, allocations: 0 / 0.7612 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003121, allocations: 0 / 0.7612 GB, free: 5.461 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.0003015/0.003423, allocations: 285.5 kB / 0.7615 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.003458, allocations: 8.031 kB / 0.7615 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.003489, allocations: 12.94 kB / 0.7615 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.003634, allocations: 134.6 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.003648, allocations: 8.375 kB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.003656, allocations: 4.375 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.003756, allocations: 84.59 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.003764, allocations: 192 / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.003773, allocations: 10.16 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.00378, allocations: 384 / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.003811, allocations: 23.86 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.004181, allocations: 0.4971 MB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.004242, allocations: 174.1 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.004268, allocations: 80.14 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.004288, allocations: 76.03 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.004326, allocations: 113.8 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004327, allocations: 4.688 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.009e-05/0.004387, allocations: 34.31 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.004428, allocations: 126.7 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.004527, allocations: 146.3 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.046e-06/0.004535, allocations: 25.7 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.004592, allocations: 123.8 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.004596, allocations: 4 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.004629, allocations: 29.59 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.004713, allocations: 322.8 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.00472, allocations: 5.469 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.004759, allocations: 58.88 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.004823, allocations: 69.89 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004826, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001107/0.004936, allocations: 76.23 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.004949, allocations: 4 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.004955, allocations: 4 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004967, allocations: 0 / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.438e-05/0.005022, allocations: 20 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.005026, allocations: 5.062 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.00506, allocations: 7.938 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.005066, allocations: 4 kB / 0.7637 GB, free: 2.707 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 8.216e-05/0.005148, allocations: 197.9 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.005196, allocations: 109 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.005241, allocations: 113.7 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.144e-05/0.005292, allocations: 180.2 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.642e-05/0.005339, allocations: 181.7 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.623e-05/0.005385, allocations: 180.2 kB / 0.7646 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.005552, allocations: 337.4 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/0.00558, allocations: 104.9 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.005609, allocations: 102.4 kB / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.704e-05/0.005656, allocations: 180.2 kB / 0.7653 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.005702, allocations: 184.2 kB / 0.7655 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.267e-05/0.005745, allocations: 176.3 kB / 0.7657 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-05/0.005794, allocations: 184.7 kB / 0.7659 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.0059, allocations: 308.3 kB / 0.7661 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.005959, allocations: 120.8 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.006013, allocations: 185 kB / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.006084, allocations: 109.2 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.006131, allocations: 176.8 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.00616, allocations: 112.5 kB / 0.7668 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.006191, allocations: 27.08 kB / 0.7668 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006191, allocations: 3.938 kB / 0.7668 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002029/0.006394, allocations: 11.95 kB / 0.7669 GB, free: 15.33 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.0001082/0.006502, allocations: 155.7 kB / 0.767 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.728e-05/0.00657, allocations: 27.53 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.006576, allocations: 4 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.006577, allocations: 0 / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.007076, allocations: 463.6 kB / 0.7675 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.007314, allocations: 228 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.007349, allocations: 59.34 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.007382, allocations: 11.39 kB / 0.7678 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.007414, allocations: 55.38 kB / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.007414, allocations: 0 / 0.7678 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.001956/0.00937, allocations: 339.3 kB / 0.7681 GB, free: 13.97 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.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.17611850425601]