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.001037/0.001037, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002448, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009479/0.0009479, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002149, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09651/1.109, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.553/2.553, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2727/2.826, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.463e-06/1.463e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.353e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001517/0.00154, allocations: 0.8647 MB / 0.8192 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001007/0.001641, allocations: 51.66 kB / 0.8192 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.001686, allocations: 4 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.001728, allocations: 7.875 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.001783, allocations: 7.922 kB / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.028e-05/0.001823, allocations: 27.91 kB / 0.8192 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.001912, allocations: 59.8 kB / 0.8193 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.002012, allocations: 39.91 kB / 0.8193 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.002102, allocations: 43.89 kB / 0.8194 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.002142, allocations: 11.92 kB / 0.8194 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.002161, allocations: 8 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-06/0.002168, allocations: 8 kB / 0.8194 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.002183, allocations: 11.94 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.002205, allocations: 11.94 kB / 0.8194 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.739e-05/0.002292, allocations: 47.72 kB / 0.8195 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.002308, allocations: 7.922 kB / 0.8195 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002309, allocations: 0 / 0.8195 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.002321, allocations: 0 / 0.8195 GB, free: 1.691 MB / 0.7917 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.0003434/0.002665, allocations: 288.3 kB / 0.8198 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.002697, allocations: 8.625 kB / 0.8198 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.002724, allocations: 12.92 kB / 0.8198 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.002845, allocations: 133.7 kB / 0.8199 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.002855, allocations: 8.281 kB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.002865, allocations: 8.375 kB / 0.8199 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.002959, allocations: 79.88 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.002966, allocations: 192 / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.002973, allocations: 4.375 kB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.002977, allocations: 384 / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.003005, allocations: 23.91 kB / 0.82 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.003371, allocations: 0.5128 MB / 0.8205 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.188e-05/0.003433, allocations: 165.1 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.003454, allocations: 84.14 kB / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.003475, allocations: 75.28 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.00351, allocations: 113.8 kB / 0.8209 GB, free: 80 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.472e-06/0.003512, allocations: 0 / 0.8209 GB, free: 80 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.858e-05/0.00357, allocations: 33.64 kB / 0.821 GB, free: 40 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.003641, allocations: 126.7 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.003739, allocations: 150.5 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.003747, allocations: 25.7 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.003801, allocations: 123.7 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.003806, allocations: 4 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.003831, allocations: 21.67 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.003912, allocations: 330.8 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-06/0.003918, allocations: 4 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.003951, allocations: 54.86 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.004009, allocations: 66.78 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.004012, allocations: 4 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.94e-05/0.004111, allocations: 77.48 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.004127, allocations: 4 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.004135, allocations: 4 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.004144, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.004205, allocations: 19.98 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.004209, allocations: 4.188 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.004235, allocations: 15.88 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.004241, allocations: 8 kB / 0.822 GB, free: 14.91 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 7.468e-05/0.004315, allocations: 189.1 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.004356, allocations: 105 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.004402, allocations: 120.8 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003331/0.004735, allocations: 180.3 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-05/0.004777, allocations: 180.2 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/0.004813, allocations: 176.3 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.004961, allocations: 341.3 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.004988, allocations: 105 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.005013, allocations: 105 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.005058, allocations: 112.9 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.984e-05/0.005097, allocations: 184.3 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.005137, allocations: 176.3 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-05/0.005176, allocations: 184.2 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.912e-05/0.005215, allocations: 180.3 kB / 0.8242 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.005317, allocations: 307.7 kB / 0.8245 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.005364, allocations: 184.2 kB / 0.8247 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/0.00541, allocations: 105 kB / 0.8248 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.005453, allocations: 184.2 kB / 0.825 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.005482, allocations: 108.9 kB / 0.8251 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.005514, allocations: 27.58 kB / 0.8251 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005514, allocations: 0 / 0.8251 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001447/0.005658, allocations: 11.95 kB / 0.8251 GB, free: 11.54 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.0001178/0.005776, allocations: 159.7 kB / 0.8252 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.862e-05/0.005845, allocations: 24.8 kB / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.005851, allocations: 0 / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.005852, allocations: 0.5 kB / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.006058, allocations: 485.5 kB / 0.8257 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.006308, allocations: 224.4 kB / 0.8259 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.006339, allocations: 59.34 kB / 0.826 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.898e-05/0.006378, allocations: 8.719 kB / 0.826 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.00641, allocations: 55.38 kB / 0.8261 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.006411, allocations: 0 / 0.8261 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.001906/0.008317, allocations: 340.7 kB / 0.8264 GB, free: 10.14 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.ref.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.460433864034712]