Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001041/0.001041, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.001213/0.001213, allocations: 173 kB / 23.28 MB, free: 1.219 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/1, allocations: 177.1 MB / 203.7 MB, free: 5.492 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 2.314/2.314, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.637e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001474/0.00149, allocations: 0.8168 MB / 0.8905 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000135/0.001625, allocations: 47.72 kB / 0.8906 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.001687, allocations: 4 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.001729, allocations: 7.875 kB / 0.8906 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.001827, allocations: 15.84 kB / 0.8906 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.728e-05/0.001874, allocations: 15.98 kB / 0.8906 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.001981, allocations: 67.84 kB / 0.8907 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.00211, allocations: 23.92 kB / 0.8907 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.00223, allocations: 43.89 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.002282, allocations: 15.92 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.002303, allocations: 8 kB / 0.8908 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.002311, allocations: 4 kB / 0.8908 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.002344, allocations: 15.91 kB / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.002377, allocations: 15.94 kB / 0.8908 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.002485, allocations: 47.77 kB / 0.8909 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002488, allocations: 0 / 0.8909 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002489, allocations: 4 kB / 0.8909 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.002494, allocations: 0 / 0.8909 GB, free: 8.574 MB / 0.8542 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.0003793/0.002873, allocations: 416.2 kB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.002922, allocations: 8.625 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.002958, allocations: 16.84 kB / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.003095, allocations: 148.4 kB / 0.8914 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.003106, allocations: 4.375 kB / 0.8914 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.003118, allocations: 8.375 kB / 0.8914 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.003226, allocations: 73.61 kB / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.003235, allocations: 192 / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.003244, allocations: 8.375 kB / 0.8915 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.003251, allocations: 4.375 kB / 0.8915 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.003299, allocations: 35.77 kB / 0.8916 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.003792, allocations: 0.7186 MB / 0.8923 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.003886, allocations: 269.4 kB / 0.8925 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.003923, allocations: 126.9 kB / 0.8926 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.003957, allocations: 119.2 kB / 0.8927 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.00401, allocations: 160.6 kB / 0.8929 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.004011, allocations: 0 / 0.8929 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.231e-05/0.004074, allocations: 37.66 kB / 0.8929 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.004132, allocations: 170.6 kB / 0.8931 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.004497, allocations: 211.1 kB / 0.8933 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.004507, allocations: 25.7 kB / 0.8933 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.004587, allocations: 170.5 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.004592, allocations: 3.984 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.004626, allocations: 31.31 kB / 0.8935 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.004764, allocations: 0.4884 MB / 0.894 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.004774, allocations: 7.984 kB / 0.894 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.004822, allocations: 73.44 kB / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.32e-05/0.004895, allocations: 89.42 kB / 0.8942 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.004898, allocations: 0 / 0.8942 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001232/0.005021, allocations: 85.61 kB / 0.8942 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.005034, allocations: 8 kB / 0.8942 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.005041, allocations: 0 / 0.8942 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.005057, allocations: 4 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.059e-05/0.005107, allocations: 15.94 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.005111, allocations: 0 / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.005136, allocations: 15.88 kB / 0.8943 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005141, allocations: 4 kB / 0.8943 GB, free: 4.77 MB / 0.8542 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 0.0001119/0.005253, allocations: 283.7 kB / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.005303, allocations: 160.8 kB / 0.8947 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.005361, allocations: 156.7 kB / 0.8949 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.79e-05/0.005429, allocations: 276 kB / 0.8951 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-05/0.005497, allocations: 268.1 kB / 0.8954 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/0.005568, allocations: 272 kB / 0.8956 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.00576, allocations: 492.4 kB / 0.8961 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/0.005796, allocations: 144.9 kB / 0.8962 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.005837, allocations: 152.8 kB / 0.8964 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-05/0.00591, allocations: 268.1 kB / 0.8966 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.005984, allocations: 272.1 kB / 0.8969 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.99e-05/0.006054, allocations: 272 kB / 0.8972 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.959e-05/0.006123, allocations: 268.1 kB / 0.8974 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.00628, allocations: 460.1 kB / 0.8979 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.00634, allocations: 156.8 kB / 0.898 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/0.006412, allocations: 264.1 kB / 0.8983 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.006472, allocations: 148.9 kB / 0.8984 GB, free: 380 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.006547, allocations: 272 kB / 0.8987 GB, free: 100 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.006595, allocations: 148.9 kB / 0.8988 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.006646, allocations: 141.2 kB / 0.8989 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.006646, allocations: 0 / 0.8989 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001491/0.006795, allocations: 8 kB / 0.8989 GB, free: 15.8 MB / 0.8698 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.0001118/0.006907, allocations: 214.4 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.006988, allocations: 39.48 kB / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.00699, allocations: 0 / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.006992, allocations: 4 kB / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.007332, allocations: 0.7086 MB / 0.8999 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.007594, allocations: 273.7 kB / 0.9001 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.007633, allocations: 60.05 kB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.007668, allocations: 13.22 kB / 0.9002 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.007707, allocations: 70.2 kB / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.007708, allocations: 0 / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of Templates: time 0.001999/0.009706, allocations: 340.5 kB / 0.9006 GB, free: 14.03 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.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.147837779019028]