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.001569/0.001569, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001544/0.001544, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.039 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 2.85/2.85, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] 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.00209/0.00209, allocations: 66.06 kB / 1.119 GB, free: 40.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3787, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002146/0.3809, allocations: 0.839 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001224/0.381, allocations: 39.78 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.381, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.3811, allocations: 7.875 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.3812, allocations: 7.875 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.261e-05/0.3812, allocations: 23.97 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3813, allocations: 55.84 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3815, allocations: 35.98 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.3815, allocations: 27.8 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.3816, allocations: 31.84 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3816, allocations: 7.938 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.3816, allocations: 8 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.3817, allocations: 11.98 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.3817, allocations: 35.75 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.3818, allocations: 75.58 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3818, allocations: 0 / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3818, allocations: 7.938 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3818, allocations: 4 kB / 1.286 GB, free: 9.961 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.0004185/0.3823, allocations: 307.8 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3823, allocations: 8.031 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.3823, allocations: 8.891 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3825, allocations: 134.4 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3825, allocations: 4.375 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3826, allocations: 8.375 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3827, allocations: 105.7 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3827, allocations: 4.188 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3827, allocations: 3.938 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3828, allocations: 4 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.3828, allocations: 39.92 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.3835, allocations: 395.8 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.018e-05/0.3835, allocations: 49.12 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.3836, allocations: 25.88 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.3836, allocations: 0 / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3836, allocations: 30.56 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3836, allocations: 0 / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000177/0.3838, allocations: 65.52 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3838, allocations: 77.11 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.384, allocations: 169 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.384, allocations: 25.7 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3841, allocations: 96.09 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.3842, allocations: 19.86 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.3842, allocations: 13.72 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3844, allocations: 323.1 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.3844, allocations: 11.98 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.3845, allocations: 13.72 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.3845, allocations: 29.66 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3845, allocations: 0 / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.182e-05/0.3846, allocations: 57.67 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3847, allocations: 8 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3847, allocations: 7.875 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3847, allocations: 0 / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.3847, allocations: 8 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3847, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.3848, allocations: 3.953 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3848, allocations: 4 kB / 1.288 GB, free: 7.719 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.615e-05/0.3849, allocations: 117.8 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.3849, allocations: 11.98 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.3849, allocations: 11.75 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3849, allocations: 0 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.385, allocations: 4 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.385, allocations: 0 / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.3854, allocations: 441.8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3854, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.3854, allocations: 4 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3854, allocations: 4.062 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3854, allocations: 3.984 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3854, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3854, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.882e-05/0.3855, allocations: 81.77 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.3856, allocations: 19.89 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3856, allocations: 4.031 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.3856, allocations: 4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.3856, allocations: 3.938 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3856, allocations: 4 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3857, allocations: 119.2 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3857, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001929/0.3859, allocations: 7.938 kB / 1.289 GB, free: 6.801 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.0001132/0.386, allocations: 99.25 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.67e-05/0.3861, allocations: 27.92 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3861, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.3861, allocations: 4 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.3863, allocations: 7.938 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.3867, allocations: 180.4 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.3871, allocations: 0.697 MB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.3871, allocations: 11.44 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3871, allocations: 0 / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of Templates: time 0.002648/0.3898, allocations: 0.8734 MB / 1.29 GB, free: 4.832 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/jenkins1/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: 11.097755111986771]