Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001838/0.001838, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001743/0.001743, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.76/2.76, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.021e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002205/0.002235, allocations: 0.808 MB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.002372, allocations: 36.38 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.00243, allocations: 5.188 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.002478, allocations: 11.86 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.002575, allocations: 7.875 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.795e-05/0.002633, allocations: 20.89 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.002772, allocations: 67.77 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.002933, allocations: 40.41 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.003043, allocations: 41.17 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.003088, allocations: 15.92 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.003108, allocations: 8 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.003121, allocations: 8 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.003143, allocations: 12.48 kB / 0.7874 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.003189, allocations: 24.7 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.003334, allocations: 67.75 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.003338, allocations: 4.875 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003339, allocations: 0 / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.003345, allocations: 0 / 0.7875 GB, free: 11.63 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.0005347/0.00388, allocations: 299 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.003919, allocations: 15.91 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.003977, allocations: 17.59 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.004198, allocations: 140.2 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.004214, allocations: 4.375 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.00423, allocations: 8.375 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.00442, allocations: 89.3 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.00443, allocations: 192 / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.004447, allocations: 8.375 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004452, allocations: 384 / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.004544, allocations: 41.55 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.005142, allocations: 360.4 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.005216, allocations: 37.22 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.00526, allocations: 14.38 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.005269, allocations: 4.719 kB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.005577, allocations: 42.55 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.005578, allocations: 0.9688 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000207/0.005785, allocations: 50.97 kB / 0.7886 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.005852, allocations: 77.11 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.006004, allocations: 129.8 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.006022, allocations: 25.7 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.006118, allocations: 117.8 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.006127, allocations: 3.953 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.006168, allocations: 17.72 kB / 0.789 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.006354, allocations: 314.8 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.006375, allocations: 8 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.006408, allocations: 23.25 kB / 0.7893 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.006455, allocations: 25.66 kB / 0.7893 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006457, allocations: 1.938 kB / 0.7893 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.823e-05/0.006555, allocations: 53.69 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.006571, allocations: 11.94 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006577, allocations: 0 / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.006595, allocations: 2.562 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.006668, allocations: 4 kB / 0.7894 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.00668, allocations: 11.88 kB / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.006711, allocations: 11.88 kB / 0.7894 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.006715, allocations: 0 / 0.7894 GB, free: 9.5 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.0001027/0.006818, allocations: 113.8 kB / 0.7895 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.006859, allocations: 4.531 kB / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.006879, allocations: 7.469 kB / 0.7895 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.00688, allocations: 0.7188 kB / 0.7895 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.006884, allocations: 0 / 0.7895 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.006892, allocations: 4.469 kB / 0.7895 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.00735, allocations: 416.2 kB / 0.7899 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007351, allocations: 0 / 0.7899 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.007377, allocations: 7.984 kB / 0.7899 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.00738, allocations: 0.5938 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.007393, allocations: 11.94 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.007399, allocations: 4.594 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.007402, allocations: 3.984 kB / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.007502, allocations: 70.72 kB / 0.79 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.007526, allocations: 9.109 kB / 0.79 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.007544, allocations: 7.922 kB / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.007562, allocations: 0 / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.007578, allocations: 4.938 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.00758, allocations: 0 / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.606e-05/0.007666, allocations: 99.27 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007666, allocations: 0.75 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001987/0.007865, allocations: 11.95 kB / 0.7902 GB, free: 8.672 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.000135/0.008, allocations: 96.34 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.008086, allocations: 20.77 kB / 0.7903 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008088, allocations: 1.469 kB / 0.7903 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/0.008104, allocations: 8 kB / 0.7903 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.00826, allocations: 4 kB / 0.7903 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.008646, allocations: 175 kB / 0.7905 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.838e-05/0.008734, allocations: 81.31 kB / 0.7905 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.008764, allocations: 4 kB / 0.7905 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.008794, allocations: 8.5 kB / 0.7905 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.008795, allocations: 0 / 0.7905 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.002789/0.01158, allocations: 358.4 kB / 0.7909 GB, free: 7.895 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.755946072982624]