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.001745/0.001745, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001964/0.001964, allocations: 214.6 kB / 22.24 MB, free: 5.102 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.668/1.668, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.094/3.094, allocations: 475.9 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002177/0.002177, allocations: 66 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3786, allocations: 170 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002155/0.3808, allocations: 0.7946 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.3809, allocations: 39.84 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.3809, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.381, allocations: 11.86 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.3811, allocations: 7.875 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.396e-05/0.3811, allocations: 19.98 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3812, allocations: 59.84 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3814, allocations: 31.97 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.3815, allocations: 27.81 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.3815, allocations: 31.78 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3815, allocations: 8 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.3815, allocations: 4 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.3816, allocations: 19.92 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.3816, allocations: 23.86 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3817, allocations: 75.53 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3817, allocations: 0 / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3817, allocations: 0 / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3817, allocations: 0 / 1.284 GB, free: 10.87 MB / 0.9825 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.0004549/0.3822, allocations: 312.3 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3822, allocations: 16.03 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3823, allocations: 8.891 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3825, allocations: 142.3 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3825, allocations: 384 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3825, allocations: 12.38 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3827, allocations: 99.73 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3827, allocations: 4.172 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3827, allocations: 3.938 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3827, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.3828, allocations: 43.92 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.3833, allocations: 352.5 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.3834, allocations: 41.19 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.3835, allocations: 17.84 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.3835, allocations: 4 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3835, allocations: 30.56 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3835, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.3837, allocations: 61.5 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.3837, allocations: 81.36 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3839, allocations: 128.2 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3839, allocations: 29.7 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.384, allocations: 111.9 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.365e-06/0.384, allocations: 3.953 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.384, allocations: 17.72 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3841, allocations: 318.8 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.3842, allocations: 3.984 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.3842, allocations: 21.72 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.3842, allocations: 25.66 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3842, allocations: 4 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.711e-05/0.3843, allocations: 61.58 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3843, allocations: 8 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3843, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3844, allocations: 3.938 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.3844, allocations: 4 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3844, allocations: 4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.3845, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3845, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 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.237e-05/0.3845, allocations: 126.9 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.3846, allocations: 11.94 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.3846, allocations: 7.406 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3846, allocations: 4 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3846, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3846, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.385, allocations: 414.5 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.385, allocations: 3.938 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.385, allocations: 4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.385, allocations: 3.938 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.385, allocations: 8.062 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.385, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.385, allocations: 7.938 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/0.3851, allocations: 73.94 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.3851, allocations: 3.938 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3852, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.3852, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.3852, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.3852, allocations: 7.984 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.3853, allocations: 99.27 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3853, allocations: 4.031 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000192/0.3855, allocations: 11.95 kB / 1.287 GB, free: 7.863 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.0001201/0.3856, allocations: 95.25 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.3857, allocations: 15.94 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3857, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.3857, allocations: 8 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.3858, allocations: 14.06 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3862, allocations: 159 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.3863, allocations: 83.14 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.3863, allocations: 7.984 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.3863, allocations: 11.44 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3863, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of Templates: time 0.002745/0.3891, allocations: 370.4 kB / 1.288 GB, free: 7.059 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 -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: 9.665293231606483]