Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.0007245/0.0007245, allocations: 96.7 kB / 20.21 MB, free: 4.219 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.000828/0.000828, allocations: 157.3 kB / 23.51 MB, free: 0.9102 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 0.9075/0.9075, allocations: 177.2 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.99/1.99, allocations: 429.6 MB / 0.6737 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8783 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.695e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002286/0.002323, allocations: 0.7994 MB / 0.8791 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001545/0.002477, allocations: 45.81 kB / 0.8792 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.002543, allocations: 4.844 kB / 0.8792 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.002582, allocations: 11.86 kB / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.002688, allocations: 10.42 kB / 0.8792 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.255e-05/0.002741, allocations: 15.98 kB / 0.8792 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.002861, allocations: 69.14 kB / 0.8793 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.003, allocations: 31.91 kB / 0.8793 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.003085, allocations: 39.89 kB / 0.8793 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.00315, allocations: 16.73 kB / 0.8794 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.003172, allocations: 8 kB / 0.8794 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.00318, allocations: 5.688 kB / 0.8794 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.003207, allocations: 23.91 kB / 0.8794 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.003239, allocations: 15.94 kB / 0.8794 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.00335, allocations: 67.75 kB / 0.8795 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003352, allocations: 1.188 kB / 0.8795 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003352, allocations: 0 / 0.8795 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.003356, allocations: 0 / 0.8795 GB, free: 5.359 MB / 0.8386 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.00036/0.003716, allocations: 303.1 kB / 0.8798 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.003752, allocations: 15.97 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.003791, allocations: 16.89 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.003955, allocations: 134.2 kB / 0.8799 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.003964, allocations: 9.094 kB / 0.8799 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.003976, allocations: 8.375 kB / 0.8799 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.004107, allocations: 95.83 kB / 0.88 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-06/0.004111, allocations: 192 / 0.88 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004119, allocations: 4.375 kB / 0.88 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004124, allocations: 4.375 kB / 0.88 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.004186, allocations: 35.92 kB / 0.8801 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.004652, allocations: 364.4 kB / 0.8804 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.004701, allocations: 37.22 kB / 0.8805 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.004732, allocations: 17.78 kB / 0.8805 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.004738, allocations: 0 / 0.8805 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.004762, allocations: 44.02 kB / 0.8805 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.004763, allocations: 0 / 0.8805 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001646/0.004927, allocations: 46.61 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.004965, allocations: 77.11 kB / 0.8806 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.005063, allocations: 138 kB / 0.8808 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.005075, allocations: 25.7 kB / 0.8808 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.005134, allocations: 107.9 kB / 0.8809 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.005141, allocations: 13.08 kB / 0.8809 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.005172, allocations: 13.72 kB / 0.8809 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.005296, allocations: 318.8 kB / 0.8812 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.005309, allocations: 6.875 kB / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.005331, allocations: 17.72 kB / 0.8812 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.005371, allocations: 29.66 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005373, allocations: 3.984 kB / 0.8813 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.046e-05/0.005444, allocations: 53.66 kB / 0.8813 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.005455, allocations: 8.312 kB / 0.8813 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.005458, allocations: 0 / 0.8813 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/0.005465, allocations: 4 kB / 0.8813 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.053e-05/0.005505, allocations: 7.938 kB / 0.8813 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.005513, allocations: 11.86 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.005535, allocations: 8.562 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-06/0.005538, allocations: 1.75 kB / 0.8814 GB, free: 3.227 MB / 0.8386 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 7.061e-05/0.005609, allocations: 113.8 kB / 0.8815 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.005649, allocations: 11.94 kB / 0.8815 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.005665, allocations: 7.469 kB / 0.8815 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.005668, allocations: 4.5 kB / 0.8815 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.00567, allocations: 0.8125 kB / 0.8815 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005674, allocations: 3.938 kB / 0.8815 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.006009, allocations: 411.2 kB / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.00601, allocations: 1.594 kB / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.006022, allocations: 8 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006023, allocations: 0 / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.006029, allocations: 3.938 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.006031, allocations: 3.984 kB / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006032, allocations: 384 / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.369e-05/0.006096, allocations: 81.89 kB / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.006111, allocations: 3.953 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.006121, allocations: 11.92 kB / 0.882 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.006139, allocations: 4 kB / 0.882 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-06/0.006149, allocations: 0 / 0.882 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.006152, allocations: 4 kB / 0.882 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.006208, allocations: 99.27 kB / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006208, allocations: 0 / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001892/0.006397, allocations: 8 kB / 0.8821 GB, free: 2.387 MB / 0.8386 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 8.019e-05/0.006477, allocations: 99.28 kB / 0.8822 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.586e-05/0.006533, allocations: 23.92 kB / 0.8822 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006534, allocations: 0 / 0.8822 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-06/0.006542, allocations: 4 kB / 0.8822 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.006674, allocations: 4 kB / 0.8822 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.006915, allocations: 170.8 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.006974, allocations: 83.42 kB / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.006995, allocations: 4 kB / 0.8825 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.007012, allocations: 12.5 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.007012, allocations: 0 / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of Templates: time 0.001819/0.008832, allocations: 355.3 kB / 0.8828 GB, free: 1.582 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 5.03372204490006]