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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 109.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 192.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.045/3.045, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002339/0.002339, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9923/0.9947, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001987/0.9967, allocations: 0.8222 MB / 1.263 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.9969, allocations: 40.56 kB / 1.263 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.9969, allocations: 2.281 kB / 1.263 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.997, allocations: 13.8 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.9971, allocations: 9.875 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.785e-05/0.9971, allocations: 20.42 kB / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.9972, allocations: 59.42 kB / 1.264 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.9974, allocations: 41.61 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.9974, allocations: 26.27 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.9975, allocations: 33.98 kB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.9975, allocations: 6.469 kB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.9976, allocations: 6.562 kB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.9976, allocations: 15.59 kB / 1.264 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.9976, allocations: 32.91 kB / 1.264 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.9978, allocations: 77.03 kB / 1.264 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9978, allocations: 0.8125 kB / 1.264 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9978, allocations: 0.75 kB / 1.264 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9978, allocations: 4.844 kB / 1.264 GB, free: 7.246 MB / 0.9981 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.0003891/0.9982, allocations: 381.6 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.9982, allocations: 8.812 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.9983, allocations: 14.91 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.9984, allocations: 196.1 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.9985, allocations: 6.719 kB / 1.264 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.9985, allocations: 5.906 kB / 1.264 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.9986, allocations: 102.5 kB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.9987, allocations: 5.062 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.9987, allocations: 4.781 kB / 1.264 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.9987, allocations: 2.359 kB / 1.264 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.9988, allocations: 39.77 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.9992, allocations: 429.9 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.9993, allocations: 50.31 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.9993, allocations: 20.09 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.9994, allocations: 0.75 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.9994, allocations: 36.66 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.9994, allocations: 4 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.9996, allocations: 52.91 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.9996, allocations: 82.31 kB / 1.265 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.9997, allocations: 160.1 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.9998, allocations: 26.42 kB / 1.265 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.9998, allocations: 112.2 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.9998, allocations: 5.938 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.9999, allocations: 18.08 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.9999, allocations: 323.8 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.9999, allocations: 3.734 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/1, allocations: 20.3 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/1, allocations: 27.12 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1, allocations: 0 / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.657e-05/1, allocations: 62.48 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1, allocations: 4.562 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1, allocations: 5.719 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1, allocations: 0.625 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/1, allocations: 6.844 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1, allocations: 0.6875 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/1, allocations: 10.11 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/1, allocations: 5.484 kB / 1.266 GB, free: 5.152 MB / 0.9981 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 5.096e-05/1, allocations: 117.6 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/1, allocations: 9.016 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/1, allocations: 20 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1, allocations: 0.8125 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1, allocations: 1.578 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1, allocations: 4.656 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/1.001, allocations: 470.2 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.001, allocations: 1.344 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/1.001, allocations: 7.75 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.001, allocations: 4.719 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/1.001, allocations: 0.6562 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.001, allocations: 1.516 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.001, allocations: 0.7812 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.428e-05/1.001, allocations: 80.59 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/1.001, allocations: 86.86 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/1.001, allocations: 8.906 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/1.001, allocations: 5.484 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/1.001, allocations: 2.047 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/1.001, allocations: 1.375 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.896e-05/1.001, allocations: 118.8 kB / 1.267 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0 / 1.267 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001858/1.001, allocations: 6.531 kB / 1.267 GB, free: 4.238 MB / 0.9981 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.000113/1.001, allocations: 97.91 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.994e-05/1.001, allocations: 23.42 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.001, allocations: 0.7812 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/1.002, allocations: 8.25 kB / 1.267 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/1.002, allocations: 13.53 kB / 1.267 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/1.002, allocations: 184.1 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/1.002, allocations: 0.6959 MB / 1.268 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/1.002, allocations: 11.59 kB / 1.268 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.002, allocations: 0 / 1.268 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of Templates: time 0.002622/1.005, allocations: 0.8658 MB / 1.269 GB, free: 3.168 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.45101510011591]