Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001346/0.001346, allocations: 77.09 kB / 20.66 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.00164/0.00164, allocations: 169 kB / 24.06 MB, free: 456 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.9778/0.9778, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.163/2.163, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.157e-05, allocations: 5.469 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00227/0.002301, allocations: 0.8201 MB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.002412, allocations: 39.78 kB / 0.8802 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.002479, allocations: 1.094 kB / 0.8802 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.002513, allocations: 7.875 kB / 0.8803 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.002584, allocations: 11.88 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.429e-05/0.002628, allocations: 29.02 kB / 0.8803 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.002723, allocations: 59.78 kB / 0.8804 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.002847, allocations: 29.02 kB / 0.8804 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.002942, allocations: 39.89 kB / 0.8804 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.002979, allocations: 15.92 kB / 0.8804 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.002996, allocations: 4.594 kB / 0.8804 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-06/0.003003, allocations: 4.688 kB / 0.8804 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.003027, allocations: 19.91 kB / 0.8805 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.003049, allocations: 16.91 kB / 0.8805 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.874e-05/0.003138, allocations: 43.77 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.003142, allocations: 0 / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003143, allocations: 0.8125 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003147, allocations: 0 / 0.8805 GB, free: 4.898 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.0003407/0.003487, allocations: 413.4 kB / 0.8809 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.003521, allocations: 8.031 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.00355, allocations: 16.89 kB / 0.8809 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.003671, allocations: 141.3 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.00368, allocations: 4.375 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.00369, allocations: 13.45 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.343e-05/0.003784, allocations: 81.55 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.003792, allocations: 192 / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.003799, allocations: 5.25 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.003805, allocations: 384 / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.003832, allocations: 24.7 kB / 0.8812 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.004228, allocations: 0.7263 MB / 0.8819 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/0.004318, allocations: 273.1 kB / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.004348, allocations: 126.9 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.004374, allocations: 119.2 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.004417, allocations: 156.6 kB / 0.8825 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.004418, allocations: 4 kB / 0.8826 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.082e-05/0.004468, allocations: 33.69 kB / 0.8826 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.004523, allocations: 174.6 kB / 0.8828 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.004622, allocations: 204.1 kB / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004631, allocations: 25.7 kB / 0.883 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.004696, allocations: 175.1 kB / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.004698, allocations: 0.5938 kB / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.004727, allocations: 35.3 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.004834, allocations: 0.4899 MB / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/0.00484, allocations: 4 kB / 0.8837 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.004876, allocations: 77.48 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.004936, allocations: 93.36 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004938, allocations: 0 / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.925e-05/0.005038, allocations: 85.64 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.005047, allocations: 4 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005052, allocations: 0 / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.005061, allocations: 4 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.005133, allocations: 12 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.005139, allocations: 7.938 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.005165, allocations: 15.89 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.00517, allocations: 4 kB / 0.8839 GB, free: 1.105 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 9.475e-05/0.005265, allocations: 287.6 kB / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.005319, allocations: 156.8 kB / 0.8844 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.005365, allocations: 160.8 kB / 0.8845 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.276e-05/0.005418, allocations: 264.1 kB / 0.8848 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-05/0.005488, allocations: 276 kB / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.91e-05/0.005547, allocations: 272 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.005712, allocations: 492.4 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/0.005743, allocations: 148.9 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.005774, allocations: 148.9 kB / 0.886 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-05/0.005836, allocations: 268 kB / 0.8863 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.005896, allocations: 268.1 kB / 0.8866 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.149e-05/0.005957, allocations: 272 kB / 0.8868 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-05/0.006014, allocations: 268.1 kB / 0.8871 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.006135, allocations: 455.8 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.006182, allocations: 164.8 kB / 0.8877 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.006247, allocations: 268 kB / 0.8879 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.006302, allocations: 148.9 kB / 0.8881 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.006361, allocations: 264.4 kB / 0.8883 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.006392, allocations: 148.8 kB / 0.8885 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.006443, allocations: 143.1 kB / 0.8886 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.006443, allocations: 0 / 0.8886 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001501/0.006593, allocations: 12 kB / 0.8886 GB, free: 12.14 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 0.0001195/0.006712, allocations: 218.4 kB / 0.8888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.006788, allocations: 35.58 kB / 0.8888 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006789, allocations: 0 / 0.8888 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.006791, allocations: 3.938 kB / 0.8889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.007087, allocations: 0.71 MB / 0.8895 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.00732, allocations: 269.7 kB / 0.8898 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.007353, allocations: 59.34 kB / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.007392, allocations: 17.2 kB / 0.8899 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.007422, allocations: 70.2 kB / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of SimCode: time 8.11e-07/0.007422, allocations: 0 / 0.8899 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.00164/0.009062, allocations: 343.1 kB / 0.8903 GB, free: 10.36 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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.3337554899044335]