Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001655/0.001655, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001786/0.001786, allocations: 216.5 kB / 23 MB, free: 4.969 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.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002088/0.002088, allocations: 70.23 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3798, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002963/0.3828, allocations: 0.8 MB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.383, allocations: 43.72 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.3831, allocations: 0 / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.699e-05/0.3831, allocations: 7.875 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.3832, allocations: 19.86 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.642e-05/0.3833, allocations: 15.98 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3835, allocations: 59.84 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.3837, allocations: 35.92 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3838, allocations: 27.91 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3839, allocations: 35.78 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.3839, allocations: 8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.3839, allocations: 4 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.384, allocations: 19.88 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.384, allocations: 23.86 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3842, allocations: 75.58 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3842, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3842, allocations: 7.938 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.3842, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 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.0006162/0.3848, allocations: 306 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.3849, allocations: 12.03 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3849, allocations: 8.891 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.3852, allocations: 134.4 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3852, allocations: 4.375 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3853, allocations: 12.38 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3855, allocations: 89.73 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3855, allocations: 192 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3855, allocations: 15.88 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3855, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.826e-05/0.3856, allocations: 35.98 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.3862, allocations: 356.4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.858e-05/0.3863, allocations: 41.28 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.3864, allocations: 21.83 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.3864, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.3864, allocations: 42.5 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3864, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000224/0.3867, allocations: 49.59 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.3867, allocations: 85.3 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3869, allocations: 131.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3869, allocations: 25.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.387, allocations: 111.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.387, allocations: 3.953 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.3871, allocations: 21.7 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3872, allocations: 314.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.3873, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.3873, allocations: 21.7 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.3873, allocations: 25.72 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3873, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.3874, allocations: 57.53 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3875, allocations: 8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3875, allocations: 3.938 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.3875, allocations: 7.922 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.3876, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3876, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.3876, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3876, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 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 0.0001168/0.3877, allocations: 125.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.3878, allocations: 7.953 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.3878, allocations: 3.469 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3878, allocations: 11.92 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3878, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.3879, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3879, allocations: 8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.388, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.388, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001684/0.3882, allocations: 200.3 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002264/0.3884, allocations: 302 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.25e-05/0.3884, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.3885, allocations: 99.27 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Backend: time 2.71e-07/0.3885, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.389, allocations: 86.34 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007218/0.3897, allocations: 0.6043 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Templates: time 0.003495/0.3932, allocations: 485.1 kB / 1.332 GB, free: 11.69 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.438649756004452]