Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001061/0.001061, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00102/0.00102, allocations: 169 kB / 24.28 MB, free: 280 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.9863/0.9863, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.869/1.869, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.066e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001312/0.001333, allocations: 0.8117 MB / 0.7879 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.001448, allocations: 40.53 kB / 0.7879 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.001506, allocations: 0 / 0.7879 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.001545, allocations: 11.86 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.001617, allocations: 12.5 kB / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.462e-05/0.001672, allocations: 17.22 kB / 0.788 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.899e-05/0.001771, allocations: 63.78 kB / 0.788 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.0019, allocations: 35.97 kB / 0.7881 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.001973, allocations: 37.52 kB / 0.7881 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.00202, allocations: 19.92 kB / 0.7881 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.002045, allocations: 4 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-06/0.002054, allocations: 8 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.002075, allocations: 15.91 kB / 0.7881 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.002105, allocations: 21.16 kB / 0.7882 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.309e-05/0.002198, allocations: 43.77 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.0022, allocations: 4 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002201, allocations: 0.625 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.002205, allocations: 0 / 0.7882 GB, free: 11.68 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.0003991/0.002604, allocations: 409.7 kB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.002651, allocations: 8.031 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.002699, allocations: 12.89 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.002869, allocations: 145.2 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.002881, allocations: 4.375 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.002892, allocations: 8.938 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003009, allocations: 84.02 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.003017, allocations: 192 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.00303, allocations: 5.281 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.00304, allocations: 4.359 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.003087, allocations: 35.8 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.003487, allocations: 459 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.003542, allocations: 63.84 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.003576, allocations: 23.48 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.003588, allocations: 4.969 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.003609, allocations: 33.39 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.00361, allocations: 0 / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.003756, allocations: 56.86 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.003797, allocations: 77.11 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.003905, allocations: 191.3 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.003915, allocations: 25.7 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.00398, allocations: 154.7 kB / 0.7899 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.003989, allocations: 11.89 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.004016, allocations: 19.38 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.004135, allocations: 0.4968 MB / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.004147, allocations: 0 / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.004168, allocations: 21.03 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.004203, allocations: 27.38 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004206, allocations: 0 / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.44e-05/0.00426, allocations: 54.78 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.004273, allocations: 4 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.004279, allocations: 4.938 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.004293, allocations: 0 / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.004348, allocations: 5.562 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.004355, allocations: 3.938 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.004371, allocations: 7.953 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004375, allocations: 3.938 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.746e-05/0.004442, allocations: 165.9 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.004462, allocations: 3.938 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.004485, allocations: 7.469 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004487, allocations: 0.5625 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.00449, allocations: 0 / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.004494, allocations: 4.5 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.004771, allocations: 0.5513 MB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.004772, allocations: 0 / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.004782, allocations: 4 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004783, allocations: 0.5312 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.004791, allocations: 3.938 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004792, allocations: 1.625 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004793, allocations: 0 / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.555e-05/0.004849, allocations: 84.12 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.004863, allocations: 8.922 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.004873, allocations: 3.938 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-06/0.004882, allocations: 4 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.004901, allocations: 8.453 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.004902, allocations: 4.531 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.004952, allocations: 140.8 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004952, allocations: 1.094 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001238/0.005075, allocations: 19.89 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.155e-05/0.005147, allocations: 96.38 kB / 0.7917 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.005226, allocations: 21.05 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005228, allocations: 0 / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.005238, allocations: 15.62 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.005351, allocations: 10.53 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.005617, allocations: 167.5 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.005656, allocations: 63.34 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.005677, allocations: 5.328 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.005698, allocations: 12.5 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.005699, allocations: 0.9688 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.001895/0.007593, allocations: 347.9 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.174549615941942]