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.001516/0.001516, allocations: 87.58 kB / 20.45 MB, free: 4.105 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.001736/0.001736, allocations: 165 kB / 23.82 MB, free: 0.7383 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 1.001/1.001, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.941/1.941, allocations: 359 MB / 0.6052 GB, free: 11.01 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.763e-06/1.763e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.3e-05, allocations: 3.562 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001981/0.002014, allocations: 0.8149 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.002144, allocations: 39.78 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.002195, allocations: 4.812 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.625e-05/0.002241, allocations: 7.875 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.002314, allocations: 8.438 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.542e-05/0.002369, allocations: 21.22 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.002474, allocations: 63.78 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.002609, allocations: 31.97 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.002681, allocations: 37.41 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.002729, allocations: 19.91 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.00275, allocations: 8 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.002759, allocations: 4 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.00278, allocations: 17.02 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.002812, allocations: 19.92 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.002929, allocations: 51.75 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.002932, allocations: 0.625 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.002933, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.002938, allocations: 1.406 kB / 0.7882 GB, free: 11.34 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.0004133/0.003352, allocations: 404.3 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.003393, allocations: 8.031 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.003441, allocations: 17.95 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.003631, allocations: 144.3 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.003645, allocations: 8.359 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.003663, allocations: 9.375 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.003806, allocations: 86.23 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.003819, allocations: 5.328 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.00383, allocations: 384 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.00384, allocations: 4.375 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.003895, allocations: 31.8 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.004386, allocations: 455.8 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.004447, allocations: 62.22 kB / 0.7894 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.004479, allocations: 22.34 kB / 0.7894 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.004487, allocations: 0 / 0.7894 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.004514, allocations: 41.38 kB / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004515, allocations: 0 / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.004677, allocations: 45.59 kB / 0.7895 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.004716, allocations: 81.83 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.004835, allocations: 185.8 kB / 0.7898 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.004848, allocations: 27.36 kB / 0.7898 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.00494, allocations: 162.6 kB / 0.79 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.00495, allocations: 11.89 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.004987, allocations: 19.38 kB / 0.79 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.005126, allocations: 0.4895 MB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.005145, allocations: 11.94 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.005169, allocations: 23.38 kB / 0.7905 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.005205, allocations: 28.95 kB / 0.7905 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.005208, allocations: 0 / 0.7905 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.701e-05/0.005275, allocations: 47.39 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.005292, allocations: 9.562 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.005298, allocations: 0 / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.005317, allocations: 0 / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.00538, allocations: 11.98 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.005387, allocations: 4.781 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.005405, allocations: 3.953 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.005411, allocations: 8.531 kB / 0.7906 GB, free: 8.668 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.576e-05/0.005476, allocations: 157.2 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.005501, allocations: 4 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.005528, allocations: 8 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.005531, allocations: 9.25 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.005535, allocations: 0 / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.00554, allocations: 7.922 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.005836, allocations: 0.5349 MB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.005838, allocations: 5.312 kB / 0.7913 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.005853, allocations: 7.984 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.005855, allocations: 0 / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.005864, allocations: 7.938 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.005865, allocations: 1.156 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005867, allocations: 0 / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.114e-05/0.005928, allocations: 81.33 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.005947, allocations: 11.94 kB / 0.7914 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.005963, allocations: 3.938 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.005972, allocations: 1.75 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.005987, allocations: 3.938 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.005992, allocations: 8 kB / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.006039, allocations: 141.5 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006039, allocations: 0 / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001292/0.006168, allocations: 17.23 kB / 0.7916 GB, free: 7.59 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 8.654e-05/0.006254, allocations: 91.25 kB / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.006331, allocations: 20.52 kB / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.006332, allocations: 6 kB / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/0.006342, allocations: 15.62 kB / 0.7917 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.006456, allocations: 4 kB / 0.7917 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.006734, allocations: 174.5 kB / 0.7919 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.006769, allocations: 60.06 kB / 0.7919 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.006794, allocations: 7.438 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.006818, allocations: 8.5 kB / 0.792 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.006819, allocations: 0 / 0.792 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of Templates: time 0.001958/0.008778, allocations: 359.2 kB / 0.7923 GB, free: 6.805 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.5125897149555385]