Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001571/0.001571, allocations: 102.1 kB / 19.7 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.001745/0.001745, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.186/3.186, allocations: 0.49 GB / 0.7958 GB, free: 33.25 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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002205/0.002205, allocations: 65.97 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3259, allocations: 176.1 MB / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001992/0.3279, allocations: 0.8468 MB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001118/0.328, allocations: 39.78 kB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.3281, allocations: 4 kB / 1.328 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.3282, allocations: 7.875 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.3282, allocations: 11.86 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.099e-05/0.3283, allocations: 19.98 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3284, allocations: 59.84 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3285, allocations: 31.98 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.3286, allocations: 23.86 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.3286, allocations: 39.78 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3287, allocations: 4 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.3287, allocations: 8 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.3287, allocations: 15.92 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.3287, allocations: 35.75 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3289, allocations: 79.56 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3289, allocations: 0 / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3289, allocations: 0 / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.3289, allocations: 4 kB / 1.328 GB, free: 188 kB / 1.014 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.0004329/0.3293, allocations: 302 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3294, allocations: 12.03 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.3294, allocations: 8.891 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3296, allocations: 138.3 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3296, allocations: 4.375 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3296, allocations: 8.375 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3298, allocations: 93.77 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3298, allocations: 192 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3298, allocations: 7.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3298, allocations: 4 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.3299, allocations: 35.98 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.3304, allocations: 399.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.3305, allocations: 41.16 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.3305, allocations: 21.84 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3305, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3306, allocations: 34.59 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3306, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001807/0.3307, allocations: 61.52 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3308, allocations: 85.3 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.331, allocations: 165.9 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.331, allocations: 25.7 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.331, allocations: 108 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.3311, allocations: 11.94 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.3311, allocations: 13.72 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3312, allocations: 322.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.3312, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.3313, allocations: 21.72 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.3313, allocations: 29.66 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3313, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.486e-05/0.3314, allocations: 53.64 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3314, allocations: 8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3314, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3314, allocations: 4.062 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.3315, allocations: 4.094 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3315, allocations: 7.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.3315, allocations: 7.953 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3316, allocations: 7.984 kB / 1.33 GB, free: 13.95 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 8.483e-05/0.3316, allocations: 109.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.3317, allocations: 11.95 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.3317, allocations: 11.75 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3317, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3317, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3317, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.3321, allocations: 445.8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.3321, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.3322, allocations: 7.984 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3322, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3322, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3322, allocations: 4.062 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3322, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.72e-05/0.3323, allocations: 81.83 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.3323, allocations: 15.89 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3323, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.3323, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.3323, allocations: 4.031 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3323, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.563e-05/0.3324, allocations: 121.2 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3324, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001893/0.3326, allocations: 12 kB / 1.331 GB, free: 13.03 MB / 1.029 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.0001035/0.3327, allocations: 99.23 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.3328, allocations: 23.86 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3328, allocations: 8.125 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.3328, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.333, allocations: 11.84 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.3333, allocations: 188.5 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3336, allocations: 0.6885 MB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.3337, allocations: 15.56 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3337, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of Templates: time 0.002518/0.3362, allocations: 0.8638 MB / 1.333 GB, free: 11.05 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 10.799926462990697]