Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0014/0.0014, allocations: 81.17 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.001283/0.001283, allocations: 169 kB / 23.27 MB, free: 1.227 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.001/1.001, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.559/2.559, allocations: 438.1 MB / 0.682 GB, free: 14.18 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.435e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00147/0.001494, allocations: 0.821 MB / 0.8906 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.001647, allocations: 39.78 kB / 0.8906 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.001697, allocations: 4 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.001733, allocations: 11.86 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.001824, allocations: 11.81 kB / 0.8906 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.455e-05/0.001869, allocations: 23.98 kB / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.001963, allocations: 55.84 kB / 0.8907 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.002069, allocations: 35.95 kB / 0.8907 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.002172, allocations: 43.84 kB / 0.8908 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.002208, allocations: 15.91 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.002225, allocations: 4 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.002233, allocations: 4 kB / 0.8908 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.002252, allocations: 11.94 kB / 0.8908 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.002277, allocations: 19.98 kB / 0.8908 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.407e-05/0.002361, allocations: 43.7 kB / 0.8909 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002363, allocations: 4 kB / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002364, allocations: 4 kB / 0.8909 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.002369, allocations: 0 / 0.8909 GB, free: 8.605 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.0003112/0.00268, allocations: 408.2 kB / 0.8913 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.00272, allocations: 12.62 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.00275, allocations: 20.84 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.002859, allocations: 132.5 kB / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.00287, allocations: 8.375 kB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.002879, allocations: 8.312 kB / 0.8914 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.002969, allocations: 85.58 kB / 0.8915 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.002975, allocations: 4.188 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.002983, allocations: 384 / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.002989, allocations: 4.375 kB / 0.8915 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.00302, allocations: 27.86 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.003424, allocations: 0.7186 MB / 0.8923 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.003592, allocations: 261.4 kB / 0.8925 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.003625, allocations: 126.9 kB / 0.8926 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.003657, allocations: 123.2 kB / 0.8927 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.003706, allocations: 160.6 kB / 0.8929 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.003708, allocations: 4.094 kB / 0.8929 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.931e-05/0.003767, allocations: 37.59 kB / 0.8929 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.003817, allocations: 170.6 kB / 0.8931 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.003927, allocations: 204 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.003936, allocations: 29.64 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.004009, allocations: 174.5 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.004012, allocations: 4 kB / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.004043, allocations: 31.33 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.004175, allocations: 0.4884 MB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-06/0.004181, allocations: 4 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.457e-05/0.004226, allocations: 77.42 kB / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.552e-05/0.004291, allocations: 89.42 kB / 0.8942 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.004294, allocations: 4 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.004409, allocations: 77.5 kB / 0.8942 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.004422, allocations: 6.344 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.004429, allocations: 7.984 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.004443, allocations: 4 kB / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.004492, allocations: 19.92 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.004496, allocations: 4 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.00452, allocations: 11.89 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.004525, allocations: 4 kB / 0.8943 GB, free: 4.809 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 9.635e-05/0.004621, allocations: 280 kB / 0.8946 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.004672, allocations: 160.8 kB / 0.8947 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.004726, allocations: 156.7 kB / 0.8949 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-05/0.004789, allocations: 272 kB / 0.8951 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.298e-05/0.004852, allocations: 268.1 kB / 0.8954 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.283e-05/0.004915, allocations: 268 kB / 0.8956 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.00528, allocations: 0.4926 MB / 0.8961 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/0.005315, allocations: 144.9 kB / 0.8963 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.005352, allocations: 152.8 kB / 0.8964 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.397e-05/0.005416, allocations: 268.1 kB / 0.8967 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.005476, allocations: 264.1 kB / 0.8969 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.742e-05/0.005533, allocations: 272 kB / 0.8972 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.273e-05/0.005596, allocations: 268.1 kB / 0.8974 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.005728, allocations: 460.1 kB / 0.8979 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.00578, allocations: 152.8 kB / 0.898 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.005841, allocations: 272 kB / 0.8983 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.005894, allocations: 148.9 kB / 0.8984 GB, free: 424 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.005956, allocations: 268 kB / 0.8987 GB, free: 148 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.006007, allocations: 152.9 kB / 0.8988 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.006059, allocations: 149 kB / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006059, allocations: 0 / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001506/0.00621, allocations: 8 kB / 0.899 GB, free: 15.84 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.0001021/0.006312, allocations: 218.4 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.006383, allocations: 31.5 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.006385, allocations: 0 / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.006386, allocations: 0 / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.006691, allocations: 0.71 MB / 0.8999 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.006924, allocations: 281.6 kB / 0.9002 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.006963, allocations: 63.84 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.006994, allocations: 4.734 kB / 0.9002 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.007031, allocations: 74.2 kB / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of SimCode: time 8.22e-07/0.007032, allocations: 0 / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.001712/0.008744, allocations: 336.4 kB / 0.9006 GB, free: 14.07 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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.459412639029324]