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.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.001798/0.001798, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001965/0.001965, allocations: 164.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.503/1.503, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.939/2.939, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.743e-06/1.743e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.442e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002136/0.002171, allocations: 0.79 MB / 0.9518 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.002302, allocations: 43.78 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.002353, allocations: 0 / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.002399, allocations: 11.86 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.002489, allocations: 11.94 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.373e-05/0.002532, allocations: 11.98 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.002657, allocations: 63.78 kB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.00283, allocations: 39.95 kB / 0.9519 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.002929, allocations: 31.92 kB / 0.952 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.002979, allocations: 23.89 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.00301, allocations: 12 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.003019, allocations: 4 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.003044, allocations: 11.94 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.003088, allocations: 23.91 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.003225, allocations: 83.56 kB / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003228, allocations: 0 / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003228, allocations: 0 / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003233, allocations: 0 / 0.9521 GB, free: 10.41 MB / 0.8575 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.0005066/0.00374, allocations: 302 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.003781, allocations: 8.031 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.00382, allocations: 16.89 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.004047, allocations: 133.6 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.004064, allocations: 8.359 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.004084, allocations: 8.375 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.004267, allocations: 90.14 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.004279, allocations: 192 / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.004291, allocations: 4.375 kB / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.0043, allocations: 4.375 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.00439, allocations: 51.78 kB / 0.9527 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.004934, allocations: 352.3 kB / 0.953 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/0.005027, allocations: 41.34 kB / 0.9531 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.005065, allocations: 17.78 kB / 0.9531 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.005076, allocations: 0 / 0.9531 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.005103, allocations: 34.56 kB / 0.9531 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.005104, allocations: 0 / 0.9531 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001843/0.005288, allocations: 53.62 kB / 0.9532 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.005357, allocations: 77.11 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.005499, allocations: 137.5 kB / 0.9534 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.005518, allocations: 29.7 kB / 0.9534 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.005615, allocations: 119.9 kB / 0.9535 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.647e-06/0.005624, allocations: 3.953 kB / 0.9535 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.005658, allocations: 17.72 kB / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.005826, allocations: 314.8 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.005847, allocations: 11.94 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.005871, allocations: 13.72 kB / 0.9539 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/0.005925, allocations: 33.66 kB / 0.9539 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005926, allocations: 0 / 0.9539 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.791e-05/0.006014, allocations: 61.58 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.006027, allocations: 4 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006032, allocations: 0 / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.00605, allocations: 4 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.006116, allocations: 4 kB / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.006126, allocations: 3.938 kB / 0.954 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.006151, allocations: 4 kB / 0.954 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006159, allocations: 7.984 kB / 0.954 GB, free: 8.266 MB / 0.8575 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 8.829e-05/0.006247, allocations: 109.8 kB / 0.9541 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.006292, allocations: 16.02 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.006312, allocations: 3.469 kB / 0.9541 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006313, allocations: 0 / 0.9541 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.006323, allocations: 8 kB / 0.9541 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.006328, allocations: 3.938 kB / 0.9541 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.00675, allocations: 414.4 kB / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.006752, allocations: 0 / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.006772, allocations: 3.938 kB / 0.9545 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.006776, allocations: 4 kB / 0.9545 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.006789, allocations: 3.938 kB / 0.9545 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00679, allocations: 4.062 kB / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006791, allocations: 0 / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.04e-05/0.006881, allocations: 73.94 kB / 0.9546 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.006904, allocations: 11.95 kB / 0.9546 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.006919, allocations: 7.875 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.006943, allocations: 7.984 kB / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.006962, allocations: 0 / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.006964, allocations: 0 / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.007036, allocations: 95.27 kB / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.007036, allocations: 3.938 kB / 0.9547 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001906/0.007227, allocations: 16.03 kB / 0.9548 GB, free: 7.418 MB / 0.8575 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.0001232/0.00735, allocations: 95.25 kB / 0.9548 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.00744, allocations: 19.98 kB / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.007448, allocations: 0 / 0.9549 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.007461, allocations: 7.938 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.007621, allocations: 7.938 kB / 0.9549 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.007987, allocations: 158.9 kB / 0.955 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.008071, allocations: 87.17 kB / 0.9551 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.008098, allocations: 4 kB / 0.9551 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.008128, allocations: 8.5 kB / 0.9551 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.008129, allocations: 4 kB / 0.9551 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of Templates: time 0.002927/0.01106, allocations: 339.1 kB / 0.9554 GB, free: 6.645 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.227427288889885]