Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.001764/0.001764, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002142/0.002142, allocations: 199.4 kB / 22.17 MB, free: 5.211 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.508/1.508, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.02/3.02, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9597/0.9617, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002297/0.964, allocations: 0.8315 MB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.9642, allocations: 47.78 kB / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.9642, allocations: 0 / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.16e-05/0.9643, allocations: 11.86 kB / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.9644, allocations: 11.88 kB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.935e-05/0.9644, allocations: 19.98 kB / 1.275 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.9646, allocations: 59.83 kB / 1.275 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.9647, allocations: 35.92 kB / 1.275 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.9648, allocations: 27.81 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.9649, allocations: 27.84 kB / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.9649, allocations: 12 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.9649, allocations: 4 kB / 1.275 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.965, allocations: 15.94 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.965, allocations: 35.73 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.9652, allocations: 78.25 kB / 1.275 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9652, allocations: 0 / 1.275 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9652, allocations: 0 / 1.275 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.9652, allocations: 0 / 1.275 GB, free: 3.348 MB / 0.9669 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.0006313/0.9659, allocations: 383.1 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9659, allocations: 12.03 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.9659, allocations: 16.78 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.9662, allocations: 192.2 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.9662, allocations: 4.375 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.9662, allocations: 8.375 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.9664, allocations: 89.61 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.9665, allocations: 4.188 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.9665, allocations: 7.938 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9665, allocations: 4 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.9666, allocations: 39.92 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.9672, allocations: 432.7 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.9673, allocations: 45.23 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.9673, allocations: 21.78 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.9673, allocations: 4 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.9674, allocations: 34.56 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.9674, allocations: 0 / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002796/0.9676, allocations: 57.52 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.9677, allocations: 81.36 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.9679, allocations: 162.1 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.968, allocations: 29.7 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.9681, allocations: 100 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.9681, allocations: 7.938 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.9681, allocations: 21.67 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.9683, allocations: 314.8 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.9683, allocations: 7.984 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.9684, allocations: 25.72 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.9684, allocations: 29.59 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9684, allocations: 0 / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.138e-05/0.9685, allocations: 61.58 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.9685, allocations: 8 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9685, allocations: 3.938 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9685, allocations: 0 / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.235e-05/0.9686, allocations: 8.062 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9686, allocations: 4 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.9687, allocations: 3.938 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.9687, allocations: 0 / 1.277 GB, free: 0.9062 MB / 0.9669 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 9.018e-05/0.9688, allocations: 114.4 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.9688, allocations: 11.94 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.9688, allocations: 15.81 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.9688, allocations: 0 / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9688, allocations: 0 / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9688, allocations: 11.94 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.9693, allocations: 470.7 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9693, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.9693, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.9693, allocations: 4.094 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.9693, allocations: 7.969 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.9693, allocations: 4 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9693, allocations: 4.062 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.9694, allocations: 81.83 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.9695, allocations: 89.05 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.9695, allocations: 0 / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/0.9696, allocations: 4.047 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.9696, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.9696, allocations: 4.031 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001075/0.9697, allocations: 123.2 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9697, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001869/0.9699, allocations: 8 kB / 1.278 GB, free: 15.86 MB / 0.9825 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.0001507/0.97, allocations: 95.25 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.9702, allocations: 23.92 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9702, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.9702, allocations: 8.125 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.9703, allocations: 15.88 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.9707, allocations: 174.5 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.9711, allocations: 0.6963 MB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.9711, allocations: 8.422 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.9711, allocations: 15.56 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.9711, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of Templates: time 0.003033/0.9742, allocations: 470 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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: 9.361171402968466]