Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001797/0.001797, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002023/0.002023, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.935/2.935, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.596e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002372/0.002397, allocations: 0.8028 MB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000147/0.002544, allocations: 40.84 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.002603, allocations: 4 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.002641, allocations: 13.42 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.366e-05/0.002735, allocations: 7.875 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.476e-05/0.002789, allocations: 19.98 kB / 0.7873 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.002916, allocations: 59.83 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.003051, allocations: 49.12 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.003137, allocations: 39.89 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.003194, allocations: 15.92 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.003216, allocations: 13.12 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.003227, allocations: 4 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.00325, allocations: 19.86 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.003284, allocations: 12.83 kB / 0.7875 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003421, allocations: 79.69 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003423, allocations: 0.875 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003424, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003428, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 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.0005393/0.003968, allocations: 406.5 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.004006, allocations: 8.031 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.004062, allocations: 20.84 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.004282, allocations: 140.4 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.004299, allocations: 8.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.004312, allocations: 4.375 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.004506, allocations: 101.5 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.004515, allocations: 192 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.004525, allocations: 384 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.004532, allocations: 4.375 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.644e-05/0.004629, allocations: 48.44 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.005266, allocations: 470.3 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.005368, allocations: 59.03 kB / 0.7887 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.005411, allocations: 25.62 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.005427, allocations: 4 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.005461, allocations: 37.38 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005462, allocations: 0 / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.005654, allocations: 58.12 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.005722, allocations: 85.83 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.005907, allocations: 196.2 kB / 0.7891 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.005928, allocations: 26.86 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.006047, allocations: 158.7 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.006058, allocations: 7.953 kB / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.006103, allocations: 24.73 kB / 0.7893 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002727/0.006375, allocations: 0.4884 MB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.006397, allocations: 8 kB / 0.7898 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.673e-05/0.006444, allocations: 25.11 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.006499, allocations: 31.38 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006501, allocations: 0 / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.006601, allocations: 59.27 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.006615, allocations: 4 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006619, allocations: 0 / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.006635, allocations: 3.984 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.006697, allocations: 10.72 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.006704, allocations: 3.938 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.006738, allocations: 11.89 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.006745, allocations: 4 kB / 0.79 GB, free: 8.902 MB / 0.7448 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 0.0001212/0.006866, allocations: 164.5 kB / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.006907, allocations: 4 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.006927, allocations: 3.969 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.006933, allocations: 3.984 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006937, allocations: 0.5312 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.006943, allocations: 9.875 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.007462, allocations: 0.5499 MB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.007463, allocations: 4 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.007484, allocations: 3.984 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.007489, allocations: 6.594 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007497, allocations: 3.938 kB / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007498, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007499, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.007612, allocations: 92.08 kB / 0.7908 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.007634, allocations: 7.938 kB / 0.7908 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.007651, allocations: 8.469 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.007669, allocations: 3.938 kB / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.007685, allocations: 0.8438 kB / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.007688, allocations: 0 / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001098/0.007797, allocations: 148 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007797, allocations: 0 / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001861/0.007983, allocations: 11.95 kB / 0.791 GB, free: 7.805 MB / 0.7448 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.0001186/0.008102, allocations: 100.5 kB / 0.7911 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.00821, allocations: 24.47 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.008214, allocations: 4 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.008237, allocations: 16.91 kB / 0.7911 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.008374, allocations: 0 / 0.7911 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.008736, allocations: 183.8 kB / 0.7913 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.29e-05/0.008819, allocations: 78.27 kB / 0.7914 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.00885, allocations: 7.984 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.008873, allocations: 8.5 kB / 0.7914 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.008874, allocations: 4 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.002982/0.01186, allocations: 349.4 kB / 0.7917 GB, free: 6.996 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.07378933194559]