Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001296, allocations: 116.5 kB / 17.08 MB, free: 5.934 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.002217/0.002217, allocations: 194.2 kB / 20.03 MB, free: 3.016 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.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.029/3.029, allocations: 489.3 MB / 0.7687 GB, free: 3.738 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 67.89 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.157, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002068/1.159, allocations: 0.8234 MB / 1.263 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001147/1.159, allocations: 46.2 kB / 1.263 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/1.159, allocations: 0.7188 kB / 1.263 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/1.159, allocations: 9.094 kB / 1.263 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/1.159, allocations: 8.703 kB / 1.263 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.801e-05/1.159, allocations: 19.72 kB / 1.263 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/1.16, allocations: 63.7 kB / 1.264 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/1.16, allocations: 45.2 kB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/1.16, allocations: 22.92 kB / 1.264 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/1.16, allocations: 34.5 kB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/1.16, allocations: 6.469 kB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/1.16, allocations: 6.031 kB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/1.16, allocations: 15.55 kB / 1.264 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/1.16, allocations: 37.17 kB / 1.264 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/1.16, allocations: 81.44 kB / 1.264 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.16, allocations: 0.7812 kB / 1.264 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.16, allocations: 0 / 1.264 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.16, allocations: 0 / 1.264 GB, free: 7.238 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.0004107/1.161, allocations: 382.7 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.161, allocations: 9.281 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/1.161, allocations: 9.953 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.161, allocations: 192.4 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.161, allocations: 11.88 kB / 1.264 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/1.161, allocations: 5.125 kB / 1.264 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/1.161, allocations: 94.38 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.161, allocations: 192 / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/1.161, allocations: 5.953 kB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.161, allocations: 2.5 kB / 1.264 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/1.161, allocations: 43.64 kB / 1.264 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/1.162, allocations: 437.8 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/1.162, allocations: 46.42 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/1.162, allocations: 20.48 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/1.162, allocations: 0.8125 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/1.162, allocations: 35.92 kB / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/1.162, allocations: 0 / 1.265 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001775/1.162, allocations: 56.53 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/1.162, allocations: 79.28 kB / 1.265 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/1.162, allocations: 160.1 kB / 1.265 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/1.162, allocations: 29.64 kB / 1.265 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/1.162, allocations: 108.4 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/1.162, allocations: 13.62 kB / 1.265 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/1.162, allocations: 18.64 kB / 1.265 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/1.162, allocations: 318.8 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/1.162, allocations: 4.594 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/1.162, allocations: 20.5 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/1.163, allocations: 27.05 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.163, allocations: 0 / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/1.163, allocations: 61.48 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.163, allocations: 6.016 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.163, allocations: 4.625 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.163, allocations: 0.7188 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/1.163, allocations: 7.156 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.163, allocations: 0.7812 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/1.163, allocations: 10.33 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/1.163, allocations: 1.469 kB / 1.266 GB, free: 5.156 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.673e-05/1.163, allocations: 125.5 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/1.163, allocations: 8.484 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/1.163, allocations: 16.53 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.163, allocations: 0.9688 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.163, allocations: 1.422 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.163, allocations: 4.641 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/1.163, allocations: 474.2 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.163, allocations: 0.6875 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/1.163, allocations: 8.328 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.163, allocations: 5.172 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.163, allocations: 0.5625 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.163, allocations: 0.625 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.163, allocations: 1.219 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.275e-05/1.163, allocations: 80.86 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/1.163, allocations: 86.94 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/1.163, allocations: 1.547 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/1.164, allocations: 4.875 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/1.164, allocations: 6.25 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/1.164, allocations: 4.844 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.511e-05/1.164, allocations: 121.2 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.164, allocations: 0 / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002128/1.164, allocations: 10.78 kB / 1.267 GB, free: 4.23 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.0001202/1.164, allocations: 98.3 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.866e-05/1.164, allocations: 15.83 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.164, allocations: 0.7188 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/1.164, allocations: 12.83 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/1.164, allocations: 11.38 kB / 1.267 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/1.165, allocations: 191 kB / 1.267 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/1.165, allocations: 0.6924 MB / 1.268 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/1.165, allocations: 11.56 kB / 1.268 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.165, allocations: 0 / 1.268 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.003034/1.168, allocations: 0.8735 MB / 1.269 GB, free: 3.156 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.422893317881972]