Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001459/0.001459, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001573/0.001573, allocations: 215.7 kB / 22.25 MB, free: 4.73 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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 3.54/3.54, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 64.58 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4748, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002505/0.4773, allocations: 0.7882 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001458/0.4774, allocations: 51.72 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.4775, allocations: 0 / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.013e-05/0.4775, allocations: 7.875 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.4776, allocations: 11.86 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.002e-05/0.4777, allocations: 19.98 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.4778, allocations: 59.84 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.478, allocations: 27.98 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.4781, allocations: 23.92 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.4781, allocations: 27.73 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.4782, allocations: 8 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.4782, allocations: 8 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.4782, allocations: 23.91 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.4783, allocations: 15.88 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.4784, allocations: 83.52 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4784, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.228e-06/0.4784, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.4784, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 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.0005019/0.4789, allocations: 302 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.479, allocations: 12.03 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.479, allocations: 16.84 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4792, allocations: 142.3 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.4793, allocations: 4.375 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.4793, allocations: 8.375 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.4795, allocations: 95.8 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4795, allocations: 192 / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4795, allocations: 7.938 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4795, allocations: 7.984 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.4796, allocations: 35.98 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.4801, allocations: 352.4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/0.4802, allocations: 41.22 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.4803, allocations: 13.78 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.4803, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.4803, allocations: 42.58 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.4803, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000202/0.4805, allocations: 53.53 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.4806, allocations: 77.11 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4807, allocations: 125.8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4807, allocations: 33.95 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.4808, allocations: 111.9 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.4808, allocations: 3.953 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4809, allocations: 17.72 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.481, allocations: 314.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.481, allocations: 8 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.4811, allocations: 21.72 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.4811, allocations: 29.64 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4811, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.939e-05/0.4812, allocations: 53.7 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4812, allocations: 4 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4812, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.4812, allocations: 7.938 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.4813, allocations: 19.86 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.4813, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.4814, allocations: 7.953 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.4814, allocations: 3.938 kB / 1.367 GB, free: 10.33 MB / 1.061 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.0001027/0.4815, allocations: 117.8 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.4815, allocations: 4.062 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.4815, allocations: 11.41 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4815, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4815, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4815, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.482, allocations: 418.4 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.482, allocations: 3.938 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.482, allocations: 4 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.482, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.482, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.482, allocations: 4.047 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.482, allocations: 4 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.4821, allocations: 73.94 kB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.4821, allocations: 15.88 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.4821, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.4821, allocations: 4 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.4822, allocations: 0 / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.4822, allocations: 0 / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.02e-05/0.4822, allocations: 103.3 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4822, allocations: 4 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000183/0.4824, allocations: 7.953 kB / 1.368 GB, free: 9.48 MB / 1.061 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.0001241/0.4826, allocations: 99.28 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.4827, allocations: 19.92 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.4827, allocations: 0 / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.4827, allocations: 8 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.4828, allocations: 7.938 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.4832, allocations: 153.8 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.701e-05/0.4833, allocations: 91.36 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.4834, allocations: 4 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.4834, allocations: 11.38 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4834, allocations: 0 / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of Templates: time 0.003083/0.4865, allocations: 385.4 kB / 1.368 GB, free: 8.66 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 9.776997230947018]