Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001916/0.001916, allocations: 83.69 kB / 20.24 MB, free: 4.188 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.002075/0.002075, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.041/3.041, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.337e-06/9.337e-06, allocations: 5.031 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/4.189e-05, allocations: 7.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002365/0.002407, allocations: 0.7984 MB / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002045/0.002611, allocations: 44.59 kB / 0.8117 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.002685, allocations: 0 / 0.8117 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.002727, allocations: 12.48 kB / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.002822, allocations: 7.938 kB / 0.8117 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.576e-05/0.002888, allocations: 17.39 kB / 0.8117 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.003058, allocations: 63.83 kB / 0.8117 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.003221, allocations: 35.84 kB / 0.8118 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.00336, allocations: 45.17 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.003418, allocations: 11.92 kB / 0.8118 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.00345, allocations: 8 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.003462, allocations: 4.688 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.003497, allocations: 19.92 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.003539, allocations: 16.83 kB / 0.8119 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.003702, allocations: 75.69 kB / 0.812 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.003707, allocations: 4.656 kB / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003708, allocations: 0 / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.003714, allocations: 0.7188 kB / 0.812 GB, free: 0.9531 MB / 0.7605 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.000639/0.004353, allocations: 409.2 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.004391, allocations: 8.031 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.004453, allocations: 16.89 kB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.004687, allocations: 144.4 kB / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.004706, allocations: 14.45 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.00472, allocations: 4.375 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.004917, allocations: 101.5 kB / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004928, allocations: 192 / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.004938, allocations: 384 / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.004946, allocations: 5.25 kB / 0.8126 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.005046, allocations: 47.8 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.005753, allocations: 471.9 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.005861, allocations: 58.31 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.005908, allocations: 24.41 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.005925, allocations: 4 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.005965, allocations: 37.38 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.005967, allocations: 0.75 kB / 0.8132 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.006169, allocations: 50.25 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.006238, allocations: 81.64 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.006427, allocations: 198.6 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.006447, allocations: 29.64 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.00657, allocations: 159.6 kB / 0.8137 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.006581, allocations: 7.953 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.00663, allocations: 19.38 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000279/0.006909, allocations: 0.4928 MB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.006932, allocations: 9.375 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.006964, allocations: 19.38 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.007027, allocations: 36.64 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007028, allocations: 0 / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.887e-05/0.007127, allocations: 53.64 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.007143, allocations: 4.625 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.007149, allocations: 0.75 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.007167, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.00724, allocations: 13.55 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.007249, allocations: 3.938 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.007279, allocations: 7.891 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.00729, allocations: 8 kB / 0.8144 GB, free: 14.21 MB / 0.7761 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.0001247/0.007414, allocations: 162.4 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.007455, allocations: 7.938 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.007479, allocations: 7.469 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.00748, allocations: 0 / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.007486, allocations: 3.984 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.007495, allocations: 8.812 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/0.008337, allocations: 0.5533 MB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.008344, allocations: 4 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.008368, allocations: 3.984 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.008372, allocations: 4 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.008383, allocations: 7.938 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008385, allocations: 0 / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.008386, allocations: 0 / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.008503, allocations: 84.14 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.008529, allocations: 15.88 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.008543, allocations: 4.562 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.00856, allocations: 4.5 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.008578, allocations: 0 / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.00858, allocations: 1.719 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001171/0.008697, allocations: 147.2 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008697, allocations: 0 / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001834/0.008881, allocations: 11.95 kB / 0.8154 GB, free: 13.11 MB / 0.7761 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.0001278/0.009009, allocations: 96.27 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.009115, allocations: 29.19 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009117, allocations: 0 / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.14e-05/0.009138, allocations: 15.69 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.009279, allocations: 4.531 kB / 0.8155 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.009673, allocations: 180.2 kB / 0.8157 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.009759, allocations: 80.06 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.009794, allocations: 13.41 kB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.00982, allocations: 8.5 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.009821, allocations: 0.625 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003023/0.01284, allocations: 343 kB / 0.8161 GB, free: 12.3 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.08056159701664]