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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 225.6 MB / 249.4 MB, free: 3.105 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.001/3.001, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 75.89 kB / 1.107 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.214, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002513/1.216, allocations: 0.8533 MB / 1.273 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/1.216, allocations: 37.08 kB / 1.273 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/1.216, allocations: 1.906 kB / 1.273 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/1.216, allocations: 9.562 kB / 1.273 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/1.216, allocations: 6.297 kB / 1.273 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.369e-05/1.216, allocations: 20.28 kB / 1.273 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/1.217, allocations: 66.83 kB / 1.273 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/1.217, allocations: 40.16 kB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/1.217, allocations: 19.05 kB / 1.273 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/1.217, allocations: 29.97 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/1.217, allocations: 6.312 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/1.217, allocations: 6.125 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/1.217, allocations: 16.64 kB / 1.273 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/1.217, allocations: 32.53 kB / 1.273 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/1.217, allocations: 80.89 kB / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.217, allocations: 1.578 kB / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.217, allocations: 0 / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.67e-06/1.217, allocations: 4 kB / 1.273 GB, free: 7.145 MB / 0.9981 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.0004335/1.218, allocations: 376.3 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.218, allocations: 9.672 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/1.218, allocations: 13.47 kB / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/1.218, allocations: 200.9 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.218, allocations: 7.219 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/1.218, allocations: 5.969 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/1.218, allocations: 96.17 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.218, allocations: 1.312 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.218, allocations: 8.875 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/1.218, allocations: 2.844 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/1.218, allocations: 38.36 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/1.219, allocations: 439.4 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/1.219, allocations: 46.58 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/1.219, allocations: 19.47 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.219, allocations: 1.281 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.219, allocations: 32.03 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.219, allocations: 4 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001827/1.219, allocations: 58.05 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/1.219, allocations: 78.02 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/1.219, allocations: 158 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/1.219, allocations: 26.58 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/1.219, allocations: 107 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/1.219, allocations: 5.766 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/1.219, allocations: 19.56 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.142e-05/1.219, allocations: 322.3 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/1.219, allocations: 4.672 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/1.219, allocations: 30.08 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/1.219, allocations: 22.12 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.219, allocations: 1 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.864e-05/1.22, allocations: 64.7 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.22, allocations: 5.25 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.22, allocations: 4.656 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.22, allocations: 1.062 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/1.22, allocations: 6.578 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.22, allocations: 0.8125 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/1.22, allocations: 9.844 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/1.22, allocations: 2.188 kB / 1.275 GB, free: 5.059 MB / 0.9981 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 5.552e-05/1.22, allocations: 113.7 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/1.22, allocations: 16.53 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/1.22, allocations: 16.69 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.22, allocations: 1 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.22, allocations: 1.062 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.22, allocations: 1.062 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/1.22, allocations: 466.8 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.22, allocations: 1.062 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/1.22, allocations: 11.09 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.22, allocations: 0.7812 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/1.22, allocations: 7.391 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/1.22, allocations: 8.938 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/1.22, allocations: 0 / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.701e-05/1.22, allocations: 75.72 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/1.22, allocations: 90.09 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/1.22, allocations: 1.875 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/1.22, allocations: 5.641 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/1.22, allocations: 1.906 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/1.22, allocations: 0.9688 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.596e-05/1.22, allocations: 120.8 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.22, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001813/1.221, allocations: 7.219 kB / 1.276 GB, free: 4.141 MB / 0.9981 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.0001207/1.221, allocations: 104.4 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.936e-05/1.221, allocations: 16.8 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.221, allocations: 1.062 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/1.221, allocations: 11.59 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/1.221, allocations: 6.406 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/1.221, allocations: 174.6 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/1.221, allocations: 0.6961 MB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.82e-05/1.221, allocations: 8.797 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/1.221, allocations: 10.69 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.221, allocations: 0.875 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of Templates: time 0.002953/1.224, allocations: 472.5 kB / 1.278 GB, free: 3.086 MB / 0.9981 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.919159577228129]