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.001841/0.001841, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.004821/0.004821, allocations: 177 kB / 23.36 MB, free: 1.129 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.9519/0.9519, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.331/2.331, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.528e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001752/0.001777, allocations: 0.8101 MB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.001906, allocations: 51.72 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.001958, allocations: 4 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.001993, allocations: 11.86 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.002073, allocations: 11.81 kB / 0.8395 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.266e-05/0.002116, allocations: 15.98 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.002218, allocations: 63.84 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.002332, allocations: 31.94 kB / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.002441, allocations: 47.83 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.002486, allocations: 19.92 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.00251, allocations: 4 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.002519, allocations: 8 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.00254, allocations: 7.938 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.00257, allocations: 19.97 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.002675, allocations: 51.7 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002678, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002679, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002683, allocations: 0 / 0.8397 GB, free: 13.07 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.0002825/0.002966, allocations: 280.6 kB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.002998, allocations: 8.625 kB / 0.84 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.003024, allocations: 16.92 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.003135, allocations: 133.7 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.003145, allocations: 4.375 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.003178, allocations: 8.375 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.454e-05/0.003273, allocations: 81.98 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.00328, allocations: 192 / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003287, allocations: 384 / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.003292, allocations: 4.375 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.003318, allocations: 23.86 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.003665, allocations: 0.5089 MB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.003731, allocations: 169.1 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.003751, allocations: 80.14 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.003768, allocations: 75.28 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.003804, allocations: 113.8 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.003805, allocations: 0 / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.369e-05/0.003849, allocations: 33.67 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.003895, allocations: 130.7 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.003975, allocations: 146.6 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.003983, allocations: 29.69 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.004034, allocations: 119.8 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.004036, allocations: 4 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.004062, allocations: 25.67 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.004146, allocations: 330.8 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.00415, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.00418, allocations: 58.86 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.00423, allocations: 66.73 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004232, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.35e-05/0.004316, allocations: 73.48 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.004326, allocations: 8 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004331, allocations: 0 / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.004344, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.004387, allocations: 24.17 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.004391, allocations: 4.156 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.00441, allocations: 3.938 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.004414, allocations: 7.984 kB / 0.8422 GB, free: 10.3 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 6.729e-05/0.004481, allocations: 193.1 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.004516, allocations: 108.9 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.004554, allocations: 112.8 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-05/0.004593, allocations: 180.3 kB / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.87e-05/0.004631, allocations: 180.2 kB / 0.8429 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/0.00467, allocations: 180.3 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.004801, allocations: 349.3 kB / 0.8434 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.004827, allocations: 105 kB / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.00485, allocations: 101 kB / 0.8436 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.024e-05/0.00489, allocations: 180.2 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.004931, allocations: 180.3 kB / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.202e-05/0.004973, allocations: 184.2 kB / 0.8442 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.652e-05/0.005009, allocations: 180.5 kB / 0.8443 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.369e-05/0.005103, allocations: 315.7 kB / 0.8446 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.005139, allocations: 112.9 kB / 0.8447 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.005183, allocations: 184.1 kB / 0.8449 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.005233, allocations: 105 kB / 0.845 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.005279, allocations: 192.2 kB / 0.8452 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.005305, allocations: 101 kB / 0.8453 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.005331, allocations: 34.19 kB / 0.8453 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005331, allocations: 0 / 0.8453 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001243/0.005456, allocations: 7.953 kB / 0.8453 GB, free: 6.91 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 8.665e-05/0.005542, allocations: 154.1 kB / 0.8455 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.398e-05/0.005596, allocations: 29.22 kB / 0.8455 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.005599, allocations: 64 / 0.8455 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.005602, allocations: 11.94 kB / 0.8455 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.00579, allocations: 465.7 kB / 0.846 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.006005, allocations: 228 kB / 0.8462 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.006034, allocations: 59.34 kB / 0.8462 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.006063, allocations: 4.734 kB / 0.8462 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.00609, allocations: 55.36 kB / 0.8463 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.006091, allocations: 4 kB / 0.8463 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of Templates: time 0.001567/0.007658, allocations: 328.6 kB / 0.8466 GB, free: 5.539 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 -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.300591541454196]