Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002052/0.002052, 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.002443/0.002443, allocations: 220.7 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.521/1.521, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.306/3.306, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.002094/0.002094, allocations: 66.53 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3637, allocations: 180.2 MB / 1.354 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002082/0.3658, allocations: 0.8335 MB / 1.355 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.3659, allocations: 43.78 kB / 1.355 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.366, allocations: 0 / 1.355 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.366, allocations: 7.875 kB / 1.355 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.3661, allocations: 15.86 kB / 1.355 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.41e-05/0.3661, allocations: 15.98 kB / 1.355 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3662, allocations: 63.84 kB / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3664, allocations: 27.98 kB / 1.355 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.3664, allocations: 31.86 kB / 1.355 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.3665, allocations: 23.86 kB / 1.355 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3665, allocations: 7.938 kB / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.3665, allocations: 8 kB / 1.355 GB, free: 7.035 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.3666, allocations: 27.84 kB / 1.355 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.3666, allocations: 31.73 kB / 1.355 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3667, allocations: 75.59 kB / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3667, allocations: 0 / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3667, allocations: 0 / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3668, allocations: 0 / 1.355 GB, free: 6.902 MB / 1.045 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.000438/0.3672, allocations: 310 kB / 1.356 GB, free: 6.566 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3672, allocations: 8.031 kB / 1.356 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.3673, allocations: 8.891 kB / 1.356 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.3675, allocations: 150.3 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3675, allocations: 4.375 kB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3675, allocations: 12.38 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3677, allocations: 90.2 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3677, allocations: 8.188 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3677, allocations: 11.88 kB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3677, allocations: 0 / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.3678, allocations: 35.98 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.3683, allocations: 399.7 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.3684, allocations: 41.34 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.3684, allocations: 17.78 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.3684, allocations: 0 / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3685, allocations: 38.5 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3685, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.3686, allocations: 57.83 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3687, allocations: 85.05 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3688, allocations: 157.1 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3689, allocations: 25.7 kB / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.3689, allocations: 108 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.3689, allocations: 7.953 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.369, allocations: 17.72 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3691, allocations: 318.8 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.3691, allocations: 8 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.3692, allocations: 21.66 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.3692, allocations: 25.7 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3692, allocations: 0 / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.296e-05/0.3693, allocations: 61.59 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3693, allocations: 4 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3693, allocations: 8 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3693, allocations: 7.938 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.3694, allocations: 7.984 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3694, allocations: 0 / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.3694, allocations: 7.953 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.3694, allocations: 0 / 1.357 GB, free: 4.66 MB / 1.045 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.185e-05/0.3695, allocations: 121.7 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.3696, allocations: 7.953 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3696, allocations: 15.75 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3696, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3696, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3696, allocations: 3.984 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.37, allocations: 449.7 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.37, allocations: 0 / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.37, allocations: 4 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.37, allocations: 0 / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3701, allocations: 8.062 kB / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3701, allocations: 0 / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3701, allocations: 0 / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.3701, allocations: 85.81 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.3702, allocations: 7.953 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3702, allocations: 4 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.3702, allocations: 0 / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.3702, allocations: 8.031 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3702, allocations: 0 / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.3703, allocations: 124.9 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3703, allocations: 0 / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001864/0.3705, allocations: 8 kB / 1.358 GB, free: 3.734 MB / 1.045 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.000105/0.3706, allocations: 95.23 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.3707, allocations: 19.94 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3707, allocations: 4.125 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.3707, allocations: 7.938 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.3709, allocations: 8.031 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.3712, allocations: 188.5 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3715, allocations: 0.6886 MB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.3715, allocations: 19.42 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3715, allocations: 0 / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of Templates: time 0.002525/0.3741, allocations: 0.872 MB / 1.36 GB, free: 1.758 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.343674013012787]