Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001312/0.001312, 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.0009678/0.0009678, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.9275/0.9275, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.771/1.771, allocations: 377.8 MB / 0.6228 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.932e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001414/0.001443, allocations: 0.7984 MB / 0.983 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.001546, allocations: 43.84 kB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.001597, allocations: 0 / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.001634, allocations: 7.875 kB / 0.983 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.001713, allocations: 15.8 kB / 0.983 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.326e-05/0.001757, allocations: 15.98 kB / 0.9831 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.001863, allocations: 67.83 kB / 0.9831 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.001988, allocations: 23.98 kB / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.002071, allocations: 39.84 kB / 0.9832 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.002112, allocations: 27.89 kB / 0.9832 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.002138, allocations: 4 kB / 0.9832 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.002146, allocations: 8 kB / 0.9832 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.002166, allocations: 15.94 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.002192, allocations: 19.91 kB / 0.9833 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.002294, allocations: 71.7 kB / 0.9833 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002296, allocations: 0 / 0.9833 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002297, allocations: 0 / 0.9833 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002301, allocations: 0 / 0.9833 GB, free: 0.9727 MB / 0.9323 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.0003673/0.002669, allocations: 306 kB / 0.9836 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.00271, allocations: 15.97 kB / 0.9836 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.002744, allocations: 16.84 kB / 0.9836 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.002915, allocations: 129.7 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.002926, allocations: 8.312 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.002938, allocations: 8.375 kB / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.003065, allocations: 99.88 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.003073, allocations: 192 / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.003083, allocations: 384 / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.00309, allocations: 4.375 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.003151, allocations: 35.92 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.003542, allocations: 368.3 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.431e-05/0.003596, allocations: 37.22 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.003624, allocations: 17.77 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.003632, allocations: 96 / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.003655, allocations: 42.5 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.003656, allocations: 0 / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.003805, allocations: 53.58 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.003843, allocations: 77.11 kB / 0.9845 GB, free: 15.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.003931, allocations: 133.9 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.003941, allocations: 25.7 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.003996, allocations: 112 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.004003, allocations: 7.953 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.00403, allocations: 21.67 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.00411, allocations: 310.8 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.004127, allocations: 11.98 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.004145, allocations: 17.72 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/0.004182, allocations: 29.66 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004184, allocations: 4 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.629e-05/0.004241, allocations: 49.69 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.004254, allocations: 4 kB / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.004258, allocations: 0 / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.004273, allocations: 0 / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.004334, allocations: 15.94 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.00434, allocations: 3.938 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.004355, allocations: 0 / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.004359, allocations: 4 kB / 0.9852 GB, free: 14.83 MB / 0.948 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 6.138e-05/0.004421, allocations: 117.9 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.00444, allocations: 3.953 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.004459, allocations: 11.45 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00446, allocations: 3.938 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.004465, allocations: 0 / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.004468, allocations: 3.938 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.004724, allocations: 418.4 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.004726, allocations: 0 / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.004737, allocations: 4 kB / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004738, allocations: 0 / 0.9857 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.004748, allocations: 12 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.00475, allocations: 4 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004751, allocations: 0 / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.593e-05/0.004807, allocations: 73.92 kB / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.004828, allocations: 11.95 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.00484, allocations: 3.938 kB / 0.9858 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-06/0.004849, allocations: 3.938 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.004864, allocations: 4 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.004866, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.004916, allocations: 110.9 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004916, allocations: 4.031 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000128/0.005044, allocations: 11.95 kB / 0.986 GB, free: 13.97 MB / 0.948 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.605e-05/0.00513, allocations: 95.78 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.005203, allocations: 15.94 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005205, allocations: 4 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-06/0.005211, allocations: 4 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.005325, allocations: 6.188 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.005591, allocations: 188.5 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.108e-05/0.005652, allocations: 83.27 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.005677, allocations: 12.5 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.52e-07/0.005678, allocations: 0 / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of Templates: time 0.001547/0.007225, allocations: 0.8015 MB / 0.9872 GB, free: 12.7 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.585678555071354]