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.001372/0.001372, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002126/0.003498, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001589/0.001589, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002814/0.004403, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08961/1.122, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.593/2.593, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2866/2.879, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.933e-06/1.933e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.194e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001745/0.001777, allocations: 0.8684 MB / 0.8191 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.001884, allocations: 51.72 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.00193, allocations: 0 / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.001965, allocations: 7.875 kB / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.002033, allocations: 19.8 kB / 0.8192 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-05/0.002077, allocations: 15.98 kB / 0.8192 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.937e-05/0.002176, allocations: 55.86 kB / 0.8193 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.002295, allocations: 47.83 kB / 0.8193 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.002387, allocations: 39.91 kB / 0.8194 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.002432, allocations: 23.91 kB / 0.8194 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.002455, allocations: 4 kB / 0.8194 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.002463, allocations: 4 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.002482, allocations: 11.94 kB / 0.8194 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.00251, allocations: 15.94 kB / 0.8194 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.002614, allocations: 43.67 kB / 0.8195 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-05/0.002633, allocations: 3.984 kB / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.674e-06/0.002635, allocations: 0 / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.002649, allocations: 0 / 0.8195 GB, free: 1.684 MB / 0.7917 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.0004119/0.003061, allocations: 288.3 kB / 0.8198 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.003095, allocations: 16.03 kB / 0.8198 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.003133, allocations: 16.92 kB / 0.8198 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.003263, allocations: 121.7 kB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003274, allocations: 12.28 kB / 0.8199 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.003284, allocations: 12.31 kB / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.003387, allocations: 78.11 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.003393, allocations: 192 / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.003404, allocations: 8.359 kB / 0.82 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.00341, allocations: 4.375 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.003439, allocations: 23.86 kB / 0.82 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.003811, allocations: 0.5011 MB / 0.8205 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.003881, allocations: 169.1 kB / 0.8207 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.00391, allocations: 80.14 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.003933, allocations: 79.28 kB / 0.8208 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.003974, allocations: 109.8 kB / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.452e-06/0.003976, allocations: 96 / 0.8209 GB, free: 72 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.769e-05/0.004033, allocations: 33.64 kB / 0.821 GB, free: 32 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.0041, allocations: 126.7 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.004212, allocations: 146 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.00422, allocations: 25.7 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.004282, allocations: 131.7 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-06/0.004288, allocations: 4 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.004319, allocations: 29.66 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.004401, allocations: 322.8 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.004408, allocations: 4 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.00444, allocations: 50.81 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/0.004504, allocations: 82.77 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.004507, allocations: 0 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001107/0.004618, allocations: 73.48 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.004633, allocations: 8 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.004638, allocations: 0 / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.004649, allocations: 4.25 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.004707, allocations: 23.92 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.004713, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.004743, allocations: 15.88 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.004747, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.987e-05/0.004827, allocations: 189.1 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.00487, allocations: 108.9 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.005081, allocations: 116.8 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/0.005123, allocations: 180.2 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.282e-05/0.005165, allocations: 176.3 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.47e-05/0.00521, allocations: 180.3 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.00538, allocations: 341.3 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.005409, allocations: 109 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.005441, allocations: 104.9 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.005495, allocations: 108.9 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-05/0.005546, allocations: 180.2 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.005599, allocations: 184.2 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-05/0.005649, allocations: 180.2 kB / 0.824 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-05/0.005699, allocations: 184.2 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.005828, allocations: 307.8 kB / 0.8245 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.005883, allocations: 180.2 kB / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.005931, allocations: 105 kB / 0.8248 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.005986, allocations: 184.2 kB / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.006013, allocations: 101 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.006051, allocations: 32.83 kB / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006051, allocations: 0 / 0.8251 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001458/0.006197, allocations: 11.95 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001427/0.00634, allocations: 157.5 kB / 0.8252 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.855e-05/0.006418, allocations: 33.17 kB / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.006424, allocations: 0 / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.006425, allocations: 4.062 kB / 0.8253 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.006643, allocations: 475.5 kB / 0.8257 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.006917, allocations: 220.4 kB / 0.8259 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.006953, allocations: 59.34 kB / 0.826 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.061e-05/0.006994, allocations: 12.7 kB / 0.826 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.007029, allocations: 51.38 kB / 0.8261 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of SimCode: time 1.203e-06/0.00703, allocations: 8 kB / 0.8261 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.002016/0.009046, allocations: 344.6 kB / 0.8264 GB, free: 10.12 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.ref.csv","",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.639285109005868]