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.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.001478/0.001478, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001597/0.001597, allocations: 191.6 kB / 22.11 MB, free: 4.34 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.66/1.66, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.092/3.092, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 67.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002446/1.148, allocations: 0.8322 MB / 1.308 GB, free: 33.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/1.148, allocations: 34.02 kB / 1.308 GB, free: 33.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/1.148, allocations: 2.875 kB / 1.308 GB, free: 33.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/1.148, allocations: 19.05 kB / 1.308 GB, free: 33.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/1.148, allocations: 7.875 kB / 1.308 GB, free: 33.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.872e-05/1.148, allocations: 24.22 kB / 1.308 GB, free: 33.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000124/1.148, allocations: 53.58 kB / 1.308 GB, free: 33.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/1.148, allocations: 35.58 kB / 1.308 GB, free: 33.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/1.148, allocations: 27.81 kB / 1.308 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/1.148, allocations: 28.94 kB / 1.308 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/1.148, allocations: 5.969 kB / 1.308 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/1.149, allocations: 5.688 kB / 1.308 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/1.149, allocations: 18.28 kB / 1.308 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/1.149, allocations: 44.94 kB / 1.308 GB, free: 33.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/1.149, allocations: 70.75 kB / 1.308 GB, free: 32.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.149, allocations: 4 kB / 1.308 GB, free: 32.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.414e-06/1.149, allocations: 3.281 kB / 1.308 GB, free: 32.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.149, allocations: 0 / 1.308 GB, free: 32.98 MB / 1.061 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.0004216/1.149, allocations: 296.5 kB / 1.308 GB, free: 32.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.149, allocations: 15.34 kB / 1.308 GB, free: 32.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/1.149, allocations: 15.72 kB / 1.308 GB, free: 32.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/1.149, allocations: 136.8 kB / 1.308 GB, free: 32.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.149, allocations: 11.53 kB / 1.308 GB, free: 32.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/1.149, allocations: 10.12 kB / 1.308 GB, free: 32.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.15, allocations: 95.42 kB / 1.308 GB, free: 32.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.15, allocations: 192 / 1.308 GB, free: 32.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/1.15, allocations: 3.938 kB / 1.309 GB, free: 32.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.15, allocations: 2.781 kB / 1.309 GB, free: 32.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/1.15, allocations: 39.16 kB / 1.309 GB, free: 32.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/1.15, allocations: 400.5 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.78e-05/1.15, allocations: 40 kB / 1.309 GB, free: 32.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/1.151, allocations: 23.44 kB / 1.309 GB, free: 31.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/1.151, allocations: 2.906 kB / 1.309 GB, free: 31.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/1.151, allocations: 34.56 kB / 1.309 GB, free: 31.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/1.151, allocations: 0 / 1.309 GB, free: 31.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002362/1.151, allocations: 59.5 kB / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/1.151, allocations: 77.11 kB / 1.309 GB, free: 31.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/1.151, allocations: 160 kB / 1.309 GB, free: 31.69 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.151, allocations: 28.73 kB / 1.309 GB, free: 31.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/1.151, allocations: 106.4 kB / 1.309 GB, free: 31.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/1.151, allocations: 10.52 kB / 1.309 GB, free: 31.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/1.151, allocations: 16.64 kB / 1.309 GB, free: 31.53 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.151, allocations: 320.9 kB / 1.31 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/1.151, allocations: 6.844 kB / 1.31 GB, free: 31.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/1.151, allocations: 18.62 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/1.151, allocations: 33.19 kB / 1.31 GB, free: 31.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.151, allocations: 0 / 1.31 GB, free: 31.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/1.151, allocations: 57 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.151, allocations: 2.844 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.152, allocations: 14.56 kB / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.152, allocations: 0 / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/1.152, allocations: 5.812 kB / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.152, allocations: 0 / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/1.152, allocations: 6.875 kB / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/1.152, allocations: 4.062 kB / 1.31 GB, free: 31.1 MB / 1.061 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.24e-05/1.152, allocations: 119.8 kB / 1.31 GB, free: 30.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/1.152, allocations: 6.984 kB / 1.31 GB, free: 30.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/1.152, allocations: 18.16 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/1.152, allocations: 0 / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.152, allocations: 3.938 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.152, allocations: 3.125 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/1.152, allocations: 448.6 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.152, allocations: 0 / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/1.152, allocations: 3.281 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.152, allocations: 3.344 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.152, allocations: 0 / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.152, allocations: 3.938 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.152, allocations: 0 / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/1.152, allocations: 88.11 kB / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/1.152, allocations: 14.91 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/1.152, allocations: 3.703 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/1.152, allocations: 0 / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/1.153, allocations: 3 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/1.153, allocations: 3.938 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.803e-05/1.153, allocations: 120.3 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.153, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002228/1.153, allocations: 12.78 kB / 1.311 GB, free: 30.3 MB / 1.061 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.0001681/1.153, allocations: 97.34 kB / 1.311 GB, free: 30.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001294/1.153, allocations: 18.02 kB / 1.311 GB, free: 30.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.153, allocations: 4 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.789e-06/1.153, allocations: 2.625 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/1.153, allocations: 18.47 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/1.154, allocations: 158.2 kB / 1.311 GB, free: 30.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.154, allocations: 0.6931 MB / 1.312 GB, free: 29.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.882e-05/1.154, allocations: 9.891 kB / 1.312 GB, free: 29.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/1.154, allocations: 10.16 kB / 1.312 GB, free: 29.33 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.154, allocations: 0 / 1.312 GB, free: 29.33 MB / 1.061 GB Notification: Performance of Templates: time 0.003743/1.158, allocations: 483 kB / 1.312 GB, free: 29.25 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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.167186167091131]