Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001971/0.001971, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002383/0.002383, allocations: 215.2 kB / 22.25 MB, free: 5.109 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.705/3.705, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 72.25 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4395, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002819/0.4423, allocations: 0.7869 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001388/0.4425, allocations: 39.78 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.4425, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.588e-05/0.4426, allocations: 7.875 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.4427, allocations: 15.86 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.062e-05/0.4428, allocations: 19.98 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.4429, allocations: 55.84 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.4433, allocations: 27.98 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.4434, allocations: 35.8 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.4434, allocations: 31.72 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.4435, allocations: 8 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.4435, allocations: 4 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.4435, allocations: 15.94 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.4435, allocations: 31.84 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.4437, allocations: 67.59 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4437, allocations: 4 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.966e-06/0.4437, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.4437, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 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.0007715/0.4445, allocations: 306 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.4446, allocations: 8.031 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.4446, allocations: 16.83 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.4449, allocations: 146.3 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.445, allocations: 4.375 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.445, allocations: 8.375 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.4452, allocations: 98.14 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4452, allocations: 4.188 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4452, allocations: 3.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4452, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.806e-05/0.4453, allocations: 39.98 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.446, allocations: 356.4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.4461, allocations: 37.16 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.4461, allocations: 25.83 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.4461, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.4462, allocations: 38.59 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4462, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.4464, allocations: 57.72 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.4465, allocations: 77.11 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.4466, allocations: 129.8 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4466, allocations: 25.7 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.4467, allocations: 107.9 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.4467, allocations: 3.953 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.4468, allocations: 21.7 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4469, allocations: 318.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.447, allocations: 4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.447, allocations: 21.7 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.447, allocations: 29.72 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.447, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.467e-05/0.4471, allocations: 53.7 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4471, allocations: 11.92 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4472, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4472, allocations: 3.938 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.4472, allocations: 11.94 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4473, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.4473, allocations: 3.953 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4473, allocations: 8.062 kB / 1.367 GB, free: 10.27 MB / 1.061 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.563e-05/0.4474, allocations: 114.9 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.4474, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.4475, allocations: 19.33 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4475, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4475, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4475, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.4479, allocations: 418.4 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4479, allocations: 3.938 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.4479, allocations: 8.062 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4479, allocations: 0 / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4479, allocations: 4 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4479, allocations: 4 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4479, allocations: 0 / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.448, allocations: 69.94 kB / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.4481, allocations: 15.88 kB / 1.367 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.4481, allocations: 0 / 1.367 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.4481, allocations: 0 / 1.367 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.4481, allocations: 8 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.4481, allocations: 0 / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.408e-05/0.4482, allocations: 103.3 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4482, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001933/0.4484, allocations: 11.95 kB / 1.368 GB, free: 9.414 MB / 1.061 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.0001472/0.4485, allocations: 99.23 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.4486, allocations: 15.94 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4486, allocations: 0 / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.4486, allocations: 8 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.4488, allocations: 8.281 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.4492, allocations: 161 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.662e-05/0.4493, allocations: 79.12 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.4494, allocations: 7.984 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.4494, allocations: 15.38 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4494, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of Templates: time 0.003383/0.4528, allocations: 375.5 kB / 1.368 GB, free: 8.602 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.918521648272872]