Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009781/0.0009781, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009492/0.0009492, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.9321/0.9321, allocations: 177.2 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.787/1.787, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.771e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001618/0.001646, allocations: 0.8312 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.00176, allocations: 39.78 kB / 0.788 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.001803, allocations: 0.9688 kB / 0.788 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.001839, allocations: 11.86 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.001914, allocations: 7.938 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.35e-05/0.001957, allocations: 18.36 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.002044, allocations: 63.78 kB / 0.7881 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.00216, allocations: 35.95 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.002254, allocations: 39.84 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.862e-05/0.002293, allocations: 19.92 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.002313, allocations: 4 kB / 0.7882 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-06/0.00232, allocations: 5.844 kB / 0.7882 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.002339, allocations: 15.92 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.002366, allocations: 15.92 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.844e-05/0.002454, allocations: 43.83 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.002457, allocations: 0 / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002458, allocations: 0.5312 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.002464, allocations: 1.469 kB / 0.7882 GB, free: 11.36 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.0003559/0.00282, allocations: 408.2 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.002862, allocations: 8.031 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.002901, allocations: 16.89 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.003034, allocations: 142.1 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.003043, allocations: 4.375 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.003057, allocations: 8.375 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.003182, allocations: 93.53 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.003189, allocations: 1.281 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.0032, allocations: 4.375 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.003209, allocations: 4.375 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.003251, allocations: 24.61 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.003719, allocations: 0.7516 MB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.862e-05/0.003808, allocations: 273.6 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.003847, allocations: 126.9 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.003875, allocations: 119.2 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.004196, allocations: 152.6 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.004197, allocations: 0 / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.923e-05/0.004256, allocations: 37.64 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.00431, allocations: 183.2 kB / 0.7905 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.004418, allocations: 191.8 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-06/0.004426, allocations: 26.23 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.004498, allocations: 184.1 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-06/0.004502, allocations: 4 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.004532, allocations: 27.38 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.004639, allocations: 0.4884 MB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.004652, allocations: 4.562 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.004693, allocations: 73.48 kB / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.74e-05/0.004761, allocations: 97.27 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.004763, allocations: 4 kB / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001252/0.004888, allocations: 83.14 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.004903, allocations: 8 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.004909, allocations: 1.281 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.004925, allocations: 8 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.004984, allocations: 15.98 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.004992, allocations: 8.781 kB / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.005016, allocations: 0 / 0.7917 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.00502, allocations: 4 kB / 0.7917 GB, free: 7.539 MB / 0.7448 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.204e-05/0.005112, allocations: 288.8 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.005158, allocations: 156.8 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.005207, allocations: 166 kB / 0.7923 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6e-05/0.005267, allocations: 264.1 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/0.005331, allocations: 272 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-05/0.005396, allocations: 272 kB / 0.793 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.005593, allocations: 0.5052 MB / 0.7935 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.144e-05/0.005635, allocations: 148.8 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.005677, allocations: 144.9 kB / 0.7938 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.007e-05/0.005748, allocations: 276.1 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.005821, allocations: 270.9 kB / 0.7943 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.785e-05/0.005889, allocations: 268.1 kB / 0.7946 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.596e-05/0.005954, allocations: 268.2 kB / 0.7948 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.006112, allocations: 459.8 kB / 0.7953 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.006166, allocations: 152.8 kB / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.006243, allocations: 264.1 kB / 0.7957 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.006308, allocations: 152.8 kB / 0.7958 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.00639, allocations: 272.9 kB / 0.7961 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.006432, allocations: 152.8 kB / 0.7962 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.006497, allocations: 143.7 kB / 0.7964 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006497, allocations: 1.938 kB / 0.7964 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001694/0.006667, allocations: 11.95 kB / 0.7964 GB, free: 2.535 MB / 0.7448 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.0001239/0.006791, allocations: 214.4 kB / 0.7966 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.006893, allocations: 40.72 kB / 0.7966 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.006896, allocations: 0.6562 kB / 0.7966 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.006897, allocations: 0 / 0.7966 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.007206, allocations: 0.7087 MB / 0.7973 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.007792, allocations: 288.3 kB / 0.7976 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.007831, allocations: 63.28 kB / 0.7977 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.007865, allocations: 4.734 kB / 0.7977 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.007888, allocations: 12.5 kB / 0.7977 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.007888, allocations: 2.094 kB / 0.7977 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.002048/0.009936, allocations: 315.8 kB / 0.798 GB, free: 0.8555 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.044043459929526]