Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001081/0.001081, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001478/0.001478, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 0.973/0.973, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.115/2.115, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.197e-05, allocations: 5.266 kB / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00197/0.001992, allocations: 0.8175 MB / 0.8802 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.002114, allocations: 44.62 kB / 0.8802 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.002166, allocations: 1.203 kB / 0.8802 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.002202, allocations: 7.875 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.002274, allocations: 14.36 kB / 0.8803 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.969e-05/0.002323, allocations: 19.98 kB / 0.8803 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002431, allocations: 64.88 kB / 0.8804 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.002541, allocations: 35.97 kB / 0.8804 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.002621, allocations: 36.72 kB / 0.8804 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.002664, allocations: 11.92 kB / 0.8804 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.00268, allocations: 4 kB / 0.8804 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.00269, allocations: 9.688 kB / 0.8804 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.002711, allocations: 19.91 kB / 0.8805 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.002733, allocations: 15.94 kB / 0.8805 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.002819, allocations: 43.77 kB / 0.8805 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002821, allocations: 1.188 kB / 0.8805 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002822, allocations: 0 / 0.8805 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.002827, allocations: 0 / 0.8805 GB, free: 4.859 MB / 0.8386 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.0003317/0.003159, allocations: 417.3 kB / 0.8809 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.003191, allocations: 8.031 kB / 0.8809 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.003225, allocations: 16.89 kB / 0.8809 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.006373, allocations: 141 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.006387, allocations: 12.36 kB / 0.8811 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.006398, allocations: 5.094 kB / 0.8811 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.006506, allocations: 87.88 kB / 0.8812 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.006514, allocations: 192 / 0.8812 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.006523, allocations: 4.375 kB / 0.8812 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006529, allocations: 4.375 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.006566, allocations: 23.86 kB / 0.8812 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.007006, allocations: 0.7224 MB / 0.8819 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.451e-05/0.00709, allocations: 265.4 kB / 0.8822 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.007123, allocations: 126.9 kB / 0.8823 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.007158, allocations: 127.2 kB / 0.8824 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.007204, allocations: 156.6 kB / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.007205, allocations: 1.438 kB / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.856e-05/0.007263, allocations: 33.66 kB / 0.8826 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.00732, allocations: 170.6 kB / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.007679, allocations: 207.1 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.007686, allocations: 26.67 kB / 0.883 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.00776, allocations: 174.5 kB / 0.8831 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.007762, allocations: 1.094 kB / 0.8831 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.007797, allocations: 35.31 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.007913, allocations: 0.4884 MB / 0.8837 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-06/0.007921, allocations: 1.125 kB / 0.8837 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.007965, allocations: 81.41 kB / 0.8837 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.008035, allocations: 84.31 kB / 0.8838 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.008038, allocations: 4 kB / 0.8838 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001131/0.008151, allocations: 79.77 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.008162, allocations: 4 kB / 0.8839 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.008167, allocations: 5.656 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.008177, allocations: 4 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.008234, allocations: 19.94 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.008237, allocations: 0 / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.008271, allocations: 12.39 kB / 0.8839 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.008276, allocations: 4 kB / 0.8839 GB, free: 1.078 MB / 0.8386 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 8.897e-05/0.008365, allocations: 284.5 kB / 0.8842 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.008422, allocations: 165.4 kB / 0.8844 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.008469, allocations: 148.7 kB / 0.8845 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.234e-05/0.008531, allocations: 273.6 kB / 0.8848 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.465e-05/0.008606, allocations: 268.1 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-05/0.00867, allocations: 272 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.008864, allocations: 0.4926 MB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/0.008898, allocations: 145.1 kB / 0.8859 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.008934, allocations: 152.8 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.96e-05/0.008993, allocations: 268.1 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.009056, allocations: 276 kB / 0.8866 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.88e-05/0.009115, allocations: 264.1 kB / 0.8868 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.395e-05/0.009179, allocations: 268.1 kB / 0.8871 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.00931, allocations: 451.9 kB / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.009358, allocations: 160.8 kB / 0.8877 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.009425, allocations: 268.1 kB / 0.8879 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.009494, allocations: 144.9 kB / 0.8881 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.009558, allocations: 268.3 kB / 0.8883 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.009593, allocations: 152.9 kB / 0.8885 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.009648, allocations: 149.2 kB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009648, allocations: 0 / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000219/0.009867, allocations: 8 kB / 0.8886 GB, free: 12.11 MB / 0.8542 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 9.379e-05/0.009961, allocations: 210.4 kB / 0.8888 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.01003, allocations: 39.52 kB / 0.8888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01003, allocations: 0 / 0.8888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.01003, allocations: 0.5 kB / 0.8888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.0134, allocations: 0.7101 MB / 0.8895 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.01365, allocations: 269.7 kB / 0.8898 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.01369, allocations: 59.34 kB / 0.8899 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.01372, allocations: 8.719 kB / 0.8899 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.01401, allocations: 74.2 kB / 0.8899 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01401, allocations: 0 / 0.8899 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of Templates: time 0.001826/0.01584, allocations: 345.2 kB / 0.8903 GB, free: 10.34 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.399210905190557]