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.0009361/0.0009361, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001076/0.001076, allocations: 181 kB / 23.36 MB, free: 1.133 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.9858/0.9858, allocations: 177.1 MB / 203.8 MB, free: 5.48 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 2.554/2.554, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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.124e-06/2.124e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.654e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002648/0.002674, allocations: 0.8572 MB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.002884, allocations: 43.72 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.002947, allocations: 11.94 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.002991, allocations: 7.875 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.003093, allocations: 7.938 kB / 0.8395 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.102e-05/0.003155, allocations: 19.97 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003275, allocations: 59.84 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.003423, allocations: 31.95 kB / 0.8396 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.003603, allocations: 47.78 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.003667, allocations: 19.91 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.003695, allocations: 8 kB / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.003708, allocations: 4 kB / 0.8397 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.003735, allocations: 15.92 kB / 0.8397 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.003772, allocations: 19.92 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003903, allocations: 43.77 kB / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.003907, allocations: 0 / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003908, allocations: 0 / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.003915, allocations: 0 / 0.8398 GB, free: 12.92 MB / 0.8073 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.0004415/0.004356, allocations: 280.6 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.004405, allocations: 8.625 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.004452, allocations: 16.88 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.004947, allocations: 137.6 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.004961, allocations: 8.375 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.004974, allocations: 8.375 kB / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.005105, allocations: 83.78 kB / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005115, allocations: 192 / 0.8403 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005125, allocations: 4.375 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.005132, allocations: 384 / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.005177, allocations: 19.92 kB / 0.8403 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.005693, allocations: 0.501 MB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.881e-05/0.005772, allocations: 177.3 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.005804, allocations: 80.14 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.005828, allocations: 79.28 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.005875, allocations: 109.8 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.005876, allocations: 0 / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.659e-05/0.005953, allocations: 33.69 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.006008, allocations: 130.6 kB / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.006128, allocations: 144.7 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.006138, allocations: 25.7 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.00621, allocations: 123.8 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.006213, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.006254, allocations: 29.66 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.006355, allocations: 326.8 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.006367, allocations: 8 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.006421, allocations: 62.83 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.435e-05/0.006495, allocations: 62.73 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.006498, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001343/0.006632, allocations: 77.48 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.006649, allocations: 8 kB / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006655, allocations: 0 / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.00667, allocations: 4 kB / 0.8422 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.006738, allocations: 16 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.006745, allocations: 4 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.006792, allocations: 8.188 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.006799, allocations: 11.94 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.521e-05/0.006894, allocations: 193 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.006952, allocations: 108.9 kB / 0.8426 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.007007, allocations: 112.7 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/0.007064, allocations: 180.2 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.609e-05/0.00712, allocations: 188.2 kB / 0.843 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-05/0.007176, allocations: 176.3 kB / 0.8432 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.007379, allocations: 333.3 kB / 0.8435 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/0.007415, allocations: 108.9 kB / 0.8436 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.007448, allocations: 101 kB / 0.8437 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/0.007507, allocations: 192.2 kB / 0.8439 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.007563, allocations: 180.3 kB / 0.8441 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.294e-05/0.007616, allocations: 176.3 kB / 0.8442 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-05/0.00767, allocations: 184.4 kB / 0.8444 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.007809, allocations: 319.7 kB / 0.8447 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.007864, allocations: 108.9 kB / 0.8448 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.007929, allocations: 176.3 kB / 0.845 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.008009, allocations: 112.9 kB / 0.8451 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.008068, allocations: 176.3 kB / 0.8453 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.008102, allocations: 108.9 kB / 0.8454 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.008146, allocations: 34.03 kB / 0.8454 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.008146, allocations: 0 / 0.8454 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002228/0.008369, allocations: 11.95 kB / 0.8454 GB, free: 6.758 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001258/0.008495, allocations: 147.7 kB / 0.8456 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.008573, allocations: 28.78 kB / 0.8456 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.00858, allocations: 4 kB / 0.8456 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.008582, allocations: 0 / 0.8456 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.008904, allocations: 466.7 kB / 0.846 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.009321, allocations: 239.4 kB / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.009374, allocations: 55.36 kB / 0.8463 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.338e-05/0.009428, allocations: 8.719 kB / 0.8463 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.009481, allocations: 51.38 kB / 0.8464 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of SimCode: time 1.493e-06/0.009482, allocations: 0 / 0.8464 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of Templates: time 0.002881/0.01236, allocations: 340.6 kB / 0.8467 GB, free: 5.387 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3880503051914275]