Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008288/0.0008288, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008416/0.0008416, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.892/0.892, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.646e-05, allocations: 2.281 kB / 1.001 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002264/0.002301, allocations: 0.8024 MB / 1.002 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.002452, allocations: 39.78 kB / 1.002 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.002514, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.00256, allocations: 11.88 kB / 1.002 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.002659, allocations: 15.88 kB / 1.002 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 5.424e-05/0.002713, allocations: 19.97 kB / 1.002 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.002846, allocations: 71.67 kB / 1.002 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.003, allocations: 35.91 kB / 1.002 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.003106, allocations: 35.91 kB / 1.002 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.003159, allocations: 19.91 kB / 1.002 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.00319, allocations: 8 kB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.0032, allocations: 4 kB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.003223, allocations: 15.92 kB / 1.002 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.003258, allocations: 23.91 kB / 1.002 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003399, allocations: 75.7 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003402, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003403, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.003408, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9167 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.0004588/0.003867, allocations: 306 kB / 1.002 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.003915, allocations: 12.75 kB / 1.002 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.003957, allocations: 8.891 kB / 1.002 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.004171, allocations: 129.6 kB / 1.002 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.004187, allocations: 8.375 kB / 1.002 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.004201, allocations: 8.375 kB / 1.002 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.004368, allocations: 97.77 kB / 1.003 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.004378, allocations: 192 / 1.003 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.004392, allocations: 4.375 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.0044, allocations: 4.375 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.004491, allocations: 39.91 kB / 1.003 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.004991, allocations: 356.4 kB / 1.003 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.005053, allocations: 37.2 kB / 1.003 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.005099, allocations: 17.78 kB / 1.003 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.005109, allocations: 8 kB / 1.003 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.005136, allocations: 34.59 kB / 1.003 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.005138, allocations: 0 / 1.003 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001892/0.005327, allocations: 57.52 kB / 1.003 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.005374, allocations: 77.11 kB / 1.003 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.005495, allocations: 133.2 kB / 1.003 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.005509, allocations: 25.7 kB / 1.003 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.005583, allocations: 115.9 kB / 1.003 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.005594, allocations: 7.938 kB / 1.003 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.005632, allocations: 13.97 kB / 1.003 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.005738, allocations: 318.8 kB / 1.004 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.005763, allocations: 8 kB / 1.004 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.005793, allocations: 25.64 kB / 1.004 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.005846, allocations: 29.66 kB / 1.004 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.005848, allocations: 0 / 1.004 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.899e-05/0.005947, allocations: 49.69 kB / 1.004 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.005967, allocations: 4 kB / 1.004 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.005974, allocations: 0 / 1.004 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.005998, allocations: 8.062 kB / 1.004 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.006072, allocations: 4 kB / 1.004 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.006082, allocations: 11.88 kB / 1.004 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.006102, allocations: 11.89 kB / 1.004 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.006108, allocations: 0 / 1.004 GB, free: 8.543 MB / 0.9167 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 7.298e-05/0.006181, allocations: 113.8 kB / 1.004 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.006202, allocations: 4 kB / 1.004 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.006229, allocations: 11.45 kB / 1.004 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.006232, allocations: 0 / 1.004 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.006239, allocations: 4 kB / 1.004 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.006244, allocations: 7.938 kB / 1.004 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.006519, allocations: 414.4 kB / 1.004 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006521, allocations: 0 / 1.004 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.006531, allocations: 4 kB / 1.004 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006533, allocations: 0 / 1.004 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.00654, allocations: 3.938 kB / 1.004 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.006541, allocations: 0 / 1.004 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006543, allocations: 0 / 1.004 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.701e-05/0.0066, allocations: 74.7 kB / 1.005 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.006615, allocations: 12.05 kB / 1.005 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.006626, allocations: 3.938 kB / 1.005 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.006636, allocations: 8 kB / 1.005 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.006648, allocations: 96 / 1.005 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.00665, allocations: 0 / 1.005 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.006695, allocations: 95.27 kB / 1.005 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.006695, allocations: 4 kB / 1.005 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001332/0.006828, allocations: 7.953 kB / 1.005 GB, free: 7.711 MB / 0.9167 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.0001006/0.006928, allocations: 111.2 kB / 1.005 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.007006, allocations: 19.94 kB / 1.005 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.007007, allocations: 0 / 1.005 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.082e-06/0.007013, allocations: 7.938 kB / 1.005 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.007134, allocations: 4 kB / 1.005 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.00742, allocations: 192.2 kB / 1.005 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.511e-05/0.007475, allocations: 75.33 kB / 1.005 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.0075, allocations: 12.75 kB / 1.005 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.0075, allocations: 4 kB / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of Templates: time 0.001592/0.009093, allocations: 0.7858 MB / 1.006 GB, free: 6.43 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.483799644745886]