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.001294/0.001294, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001273/0.001273, allocations: 181 kB / 24.09 MB, free: 420 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 1.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.776/1.776, allocations: 359 MB / 0.6055 GB, free: 10.88 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.863e-06/1.863e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.058e-05, allocations: 8.781 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001736/0.001767, allocations: 0.8144 MB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001224/0.001889, allocations: 44.88 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.001943, allocations: 4 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.001977, allocations: 7.875 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.002061, allocations: 13.73 kB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.116e-05/0.002102, allocations: 19.97 kB / 0.7884 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.205e-05/0.002195, allocations: 63.78 kB / 0.7885 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.00231, allocations: 27.98 kB / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.002404, allocations: 48.55 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.002441, allocations: 11.98 kB / 0.7886 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.002456, allocations: 4.781 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.002463, allocations: 4 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.002484, allocations: 21.16 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.002508, allocations: 15.94 kB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.916e-05/0.002597, allocations: 47.7 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.0026, allocations: 1.406 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.0026, allocations: 0 / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002604, allocations: 0 / 0.7887 GB, free: 11.04 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.0004968/0.003101, allocations: 412.2 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.003144, allocations: 13.09 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.003171, allocations: 12.89 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.003291, allocations: 144.4 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.003299, allocations: 1.875 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.00331, allocations: 12.38 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.00341, allocations: 77.61 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.003416, allocations: 192 / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.003423, allocations: 2.031 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.003428, allocations: 384 / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.003459, allocations: 27.86 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.00387, allocations: 0.7279 MB / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.003951, allocations: 265.4 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.003982, allocations: 126.9 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.004009, allocations: 119.3 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.004059, allocations: 166.2 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.004061, allocations: 0 / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.582e-05/0.004117, allocations: 33.66 kB / 0.7907 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.004173, allocations: 174.6 kB / 0.7909 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.004271, allocations: 195.3 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.004279, allocations: 28.23 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.004348, allocations: 178.4 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.00435, allocations: 0 / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.004381, allocations: 35.34 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.00449, allocations: 496.1 kB / 0.7918 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-06/0.004498, allocations: 4 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.004539, allocations: 81.42 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.004599, allocations: 85.45 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004601, allocations: 0 / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/0.004707, allocations: 94.53 kB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.00472, allocations: 5.375 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.004726, allocations: 4 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.004736, allocations: 0 / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.004782, allocations: 17.69 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.004786, allocations: 4 kB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.004809, allocations: 7.938 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.004814, allocations: 8 kB / 0.7921 GB, free: 7.262 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 8.765e-05/0.004902, allocations: 284.2 kB / 0.7924 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.00495, allocations: 160.8 kB / 0.7925 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.005001, allocations: 157.6 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.678e-05/0.005058, allocations: 268 kB / 0.7929 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.762e-05/0.005116, allocations: 272.6 kB / 0.7932 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.314e-05/0.005179, allocations: 276 kB / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.005357, allocations: 494.4 kB / 0.7939 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/0.00539, allocations: 144.9 kB / 0.7941 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.005426, allocations: 148.8 kB / 0.7942 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.53e-05/0.005491, allocations: 268.1 kB / 0.7945 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/0.005558, allocations: 276 kB / 0.7947 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.328e-05/0.005621, allocations: 266.2 kB / 0.795 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.287e-05/0.005684, allocations: 268.1 kB / 0.7952 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.005814, allocations: 451.9 kB / 0.7957 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.006039, allocations: 160.8 kB / 0.7958 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.006104, allocations: 272.1 kB / 0.7961 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.006158, allocations: 144.9 kB / 0.7962 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.006221, allocations: 268.9 kB / 0.7965 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.006255, allocations: 149.6 kB / 0.7966 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.006306, allocations: 145.2 kB / 0.7967 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006306, allocations: 0.5312 kB / 0.7967 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001548/0.006461, allocations: 12.86 kB / 0.7968 GB, free: 2.301 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.0001077/0.006569, allocations: 215.3 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.475e-05/0.006643, allocations: 40.83 kB / 0.797 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006645, allocations: 0 / 0.797 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.006646, allocations: 0.5 kB / 0.797 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.006935, allocations: 0.7069 MB / 0.7977 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.007176, allocations: 277.5 kB / 0.798 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.007209, allocations: 65 kB / 0.798 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.007243, allocations: 8.719 kB / 0.798 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.007277, allocations: 75.08 kB / 0.7981 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.007278, allocations: 0 / 0.7981 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of Templates: time 0.001822/0.0091, allocations: 337.2 kB / 0.7984 GB, free: 0.5469 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: 4.967605574987829]