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.001434/0.001434, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001908/0.001908, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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 2.93/2.93, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] 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 1.883e-06/1.883e-06, allocations: 0 / 1 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.27e-05, allocations: 2.281 kB / 1 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002143/0.002176, allocations: 0.7993 MB / 1.001 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.002323, allocations: 43.78 kB / 1.001 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.002395, allocations: 0 / 1.001 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.002439, allocations: 11.86 kB / 1.001 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.53e-05/0.002535, allocations: 11.86 kB / 1.001 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 6.466e-05/0.002599, allocations: 23.92 kB / 1.001 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.002741, allocations: 63.75 kB / 1.001 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.002896, allocations: 35.94 kB / 1.001 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.003, allocations: 35.91 kB / 1.001 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.003049, allocations: 19.92 kB / 1.001 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.00307, allocations: 4 kB / 1.001 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.003086, allocations: 8 kB / 1.001 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.003113, allocations: 23.91 kB / 1.001 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.003143, allocations: 11.94 kB / 1.001 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.00328, allocations: 79.62 kB / 1.001 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.003283, allocations: 0 / 1.001 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003284, allocations: 0 / 1.001 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003289, allocations: 0 / 1.001 GB, free: 5.023 MB / 0.9044 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.0004984/0.003787, allocations: 306 kB / 1.002 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.003824, allocations: 12.03 kB / 1.002 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.003861, allocations: 12.89 kB / 1.002 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.004085, allocations: 133.6 kB / 1.002 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.004101, allocations: 4.375 kB / 1.002 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.004116, allocations: 8.375 kB / 1.002 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.004303, allocations: 97.92 kB / 1.002 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.004313, allocations: 192 / 1.002 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.004323, allocations: 4.312 kB / 1.002 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.004335, allocations: 4.375 kB / 1.002 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.004425, allocations: 35.92 kB / 1.002 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.004991, allocations: 364.4 kB / 1.002 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.113e-05/0.005072, allocations: 37.22 kB / 1.002 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.005107, allocations: 13.78 kB / 1.002 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.005114, allocations: 0 / 1.002 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.005165, allocations: 50.58 kB / 1.002 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.005166, allocations: 0 / 1.002 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.005349, allocations: 49.59 kB / 1.002 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.005406, allocations: 77.36 kB / 1.002 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.005556, allocations: 137.7 kB / 1.003 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.005573, allocations: 29.7 kB / 1.003 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.005652, allocations: 107.9 kB / 1.003 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.00566, allocations: 7.953 kB / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.005699, allocations: 17.72 kB / 1.003 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.00587, allocations: 318.8 kB / 1.003 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.005889, allocations: 4 kB / 1.003 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.005917, allocations: 17.72 kB / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.005965, allocations: 29.66 kB / 1.003 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005966, allocations: 4 kB / 1.003 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.593e-05/0.006062, allocations: 53.69 kB / 1.003 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.006077, allocations: 4 kB / 1.003 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.006081, allocations: 0 / 1.003 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.006096, allocations: 0 / 1.003 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.006156, allocations: 8 kB / 1.003 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.006167, allocations: 11.86 kB / 1.003 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.006196, allocations: 3.953 kB / 1.003 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006202, allocations: 4 kB / 1.003 GB, free: 2.883 MB / 0.9044 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 0.0001026/0.006305, allocations: 118.6 kB / 1.003 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.006346, allocations: 0 / 1.003 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.006369, allocations: 7.469 kB / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006371, allocations: 96 / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.006375, allocations: 0 / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.006386, allocations: 11.92 kB / 1.003 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.00684, allocations: 414.4 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.006844, allocations: 4 kB / 1.004 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.006865, allocations: 0 / 1.004 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.00687, allocations: 4 kB / 1.004 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.006878, allocations: 8 kB / 1.004 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.00688, allocations: 3.938 kB / 1.004 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.006883, allocations: 3.984 kB / 1.004 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.658e-05/0.00698, allocations: 73.94 kB / 1.004 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.00701, allocations: 7.953 kB / 1.004 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.007027, allocations: 7.922 kB / 1.004 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.814e-05/0.007045, allocations: 0 / 1.004 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.007059, allocations: 4 kB / 1.004 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.007061, allocations: 3.938 kB / 1.004 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.803e-05/0.007139, allocations: 102 kB / 1.004 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007139, allocations: 4.031 kB / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002026/0.007342, allocations: 11.95 kB / 1.004 GB, free: 2.035 MB / 0.9044 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.0001347/0.007477, allocations: 99.23 kB / 1.004 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.007563, allocations: 19.92 kB / 1.004 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007565, allocations: 0 / 1.004 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.007577, allocations: 4 kB / 1.004 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.007731, allocations: 8 kB / 1.004 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.008085, allocations: 162.8 kB / 1.004 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.00816, allocations: 79.31 kB / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.008185, allocations: 0 / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.008211, allocations: 12.5 kB / 1.004 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.008211, allocations: 0 / 1.004 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.002876/0.01109, allocations: 349.3 kB / 1.005 GB, free: 1.25 MB / 0.9044 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: 8.282003331929445]