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.0008204/0.0008204, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008165/0.0008165, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.907/0.907, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.766/1.766, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.675e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00122/0.001246, allocations: 0.7946 MB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.779e-05/0.001344, allocations: 43.78 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.001386, allocations: 3.938 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.001418, allocations: 7.875 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.001493, allocations: 3.938 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.001538, allocations: 31.95 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.001627, allocations: 63.78 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.001742, allocations: 27.92 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.001803, allocations: 43.89 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.001849, allocations: 11.92 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.001872, allocations: 4 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-06/0.001879, allocations: 8 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.001896, allocations: 15.92 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.001921, allocations: 23.86 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.17e-05/0.002012, allocations: 71.75 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.002016, allocations: 4 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002017, allocations: 4 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.00202, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 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.000346/0.002366, allocations: 306 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.002404, allocations: 9.344 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.002436, allocations: 8.891 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.002586, allocations: 133.6 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.002598, allocations: 8.375 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.002608, allocations: 8.312 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.002725, allocations: 95.86 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.002734, allocations: 192 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.002742, allocations: 4.375 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.002746, allocations: 384 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.002806, allocations: 43.86 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.00315, allocations: 356.4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.828e-05/0.003198, allocations: 41.34 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.003226, allocations: 21.77 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.003232, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.003252, allocations: 38.5 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003252, allocations: 4 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001314/0.003384, allocations: 49.59 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.003423, allocations: 77.11 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.003507, allocations: 133.8 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.003516, allocations: 25.7 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.003563, allocations: 107.9 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.003569, allocations: 11.89 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.003592, allocations: 21.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.003661, allocations: 314.8 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.003673, allocations: 4.25 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.00369, allocations: 25.7 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.00372, allocations: 21.72 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.003723, allocations: 4 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.142e-05/0.003774, allocations: 57.59 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.003785, allocations: 5.562 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.003789, allocations: 3.984 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.003801, allocations: 0 / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.003846, allocations: 8 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.003852, allocations: 8 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.003866, allocations: 3.938 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.003871, allocations: 4 kB / 1.004 GB, free: 9.688 MB / 0.9636 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.147e-05/0.003923, allocations: 113.8 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.003944, allocations: 3.953 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.003962, allocations: 15.48 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.003964, allocations: 3.984 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.003967, allocations: 3.938 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.003971, allocations: 3.938 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.004187, allocations: 410.5 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.004189, allocations: 3.984 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.004198, allocations: 4 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.004199, allocations: 0 / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.004206, allocations: 7.938 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.004208, allocations: 4 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004209, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.849e-05/0.004257, allocations: 74.73 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.004272, allocations: 11.98 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.004281, allocations: 3.938 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-06/0.004288, allocations: 4.094 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.0043, allocations: 7.938 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-06/0.004301, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.004342, allocations: 99.27 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004342, allocations: 3.938 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001204/0.004462, allocations: 11.95 kB / 1.005 GB, free: 8.832 MB / 0.9636 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 6.883e-05/0.004531, allocations: 99.23 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.147e-05/0.004592, allocations: 12 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.004594, allocations: 0 / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.004602, allocations: 12.06 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.004711, allocations: 10.25 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.00494, allocations: 188.2 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.004982, allocations: 75.33 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.005002, allocations: 12.5 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of SimCode: time 2.81e-07/0.005003, allocations: 0 / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of Templates: time 0.001316/0.006319, allocations: 0.8044 MB / 1.006 GB, free: 7.559 MB / 0.9636 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 -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: 6.477916456758976]