Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001441/0.001441, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001502/0.001502, allocations: 190.5 kB / 22.17 MB, free: 5.652 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.54/1.54, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.966/2.966, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9981/1, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002318/1.002, allocations: 0.847 MB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/1.003, allocations: 43.78 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/1.003, allocations: 0 / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/1.003, allocations: 7.875 kB / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/1.003, allocations: 11.94 kB / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.1e-05/1.003, allocations: 19.97 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/1.003, allocations: 67.77 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/1.003, allocations: 31.94 kB / 1.275 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/1.003, allocations: 27.86 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/1.003, allocations: 23.86 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/1.003, allocations: 8 kB / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/1.003, allocations: 4 kB / 1.275 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/1.003, allocations: 19.92 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/1.003, allocations: 31.75 kB / 1.275 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/1.003, allocations: 82.3 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.003, allocations: 3.938 kB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/1.003, allocations: 0 / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.003, allocations: 0 / 1.275 GB, free: 3.309 MB / 0.9669 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.0005532/1.004, allocations: 375.2 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.004, allocations: 8.031 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/1.004, allocations: 20.78 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/1.004, allocations: 196.2 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/1.004, allocations: 8.375 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/1.004, allocations: 8.375 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.005, allocations: 89.52 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.005, allocations: 192 / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/1.005, allocations: 7.938 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.005, allocations: 0 / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/1.005, allocations: 39.92 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/1.005, allocations: 440.6 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/1.005, allocations: 41.28 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/1.005, allocations: 21.84 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/1.005, allocations: 0 / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.006, allocations: 34.56 kB / 1.276 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/1.006, allocations: 0 / 1.276 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002026/1.006, allocations: 61.52 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/1.006, allocations: 81.11 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/1.006, allocations: 154.2 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/1.006, allocations: 29.64 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/1.006, allocations: 108.3 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/1.006, allocations: 7.953 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/1.006, allocations: 21.67 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.006, allocations: 318.8 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/1.006, allocations: 4 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/1.006, allocations: 21.72 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/1.006, allocations: 25.72 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.006, allocations: 0 / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.573e-05/1.007, allocations: 61.58 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.007, allocations: 8 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.007, allocations: 3.938 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.007, allocations: 0 / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/1.007, allocations: 4 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.007, allocations: 7.938 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/1.007, allocations: 8.016 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/1.007, allocations: 0 / 1.277 GB, free: 0.8711 MB / 0.9669 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 9.301e-05/1.007, allocations: 126.3 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/1.007, allocations: 11.94 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/1.007, allocations: 11.81 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.007, allocations: 0 / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.007, allocations: 8 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/1.007, allocations: 0 / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/1.007, allocations: 478.7 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.007, allocations: 3.984 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/1.007, allocations: 4 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.007, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/1.007, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.007, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.007, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/1.008, allocations: 81.95 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/1.008, allocations: 89.05 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/1.008, allocations: 4 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/1.008, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/1.008, allocations: 3.938 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/1.008, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000107/1.008, allocations: 121.9 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.008, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001893/1.008, allocations: 12 kB / 1.278 GB, free: 15.83 MB / 0.9825 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.0001406/1.008, allocations: 103.3 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001052/1.008, allocations: 16 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.008, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/1.008, allocations: 7.938 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/1.008, allocations: 11.94 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/1.009, allocations: 178.8 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/1.009, allocations: 0.6885 MB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.553e-05/1.009, allocations: 8.422 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/1.009, allocations: 11.44 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/1.009, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.003219/1.013, allocations: 470 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.490699646063149]