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.001065/0.001065, allocations: 83.59 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.001001/0.001001, allocations: 165 kB / 23.82 MB, free: 0.7344 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.9569/0.9569, allocations: 177.1 MB / 204.2 MB, free: 5.23 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.798/1.798, allocations: 359 MB / 0.6052 GB, free: 11 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.072e-06/1.072e-06, allocations: 0.875 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.31e-05, allocations: 7.562 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001234/0.001247, allocations: 0.8209 MB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001054/0.001352, allocations: 43.78 kB / 0.7879 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.001396, allocations: 2.438 kB / 0.7879 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.001431, allocations: 7.875 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.001499, allocations: 11.88 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.047e-05/0.00154, allocations: 19.97 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.001627, allocations: 59.84 kB / 0.788 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.00176, allocations: 35.97 kB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.001838, allocations: 41.62 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.001873, allocations: 19.91 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.001891, allocations: 4 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.001898, allocations: 8 kB / 0.7881 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.001916, allocations: 11.92 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.001943, allocations: 24.52 kB / 0.7882 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.003e-05/0.002023, allocations: 43.77 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002024, allocations: 5.375 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002025, allocations: 0 / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002029, allocations: 0 / 0.7882 GB, free: 11.32 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.0003405/0.002369, allocations: 405.5 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.002406, allocations: 8.031 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.002443, allocations: 16.89 kB / 0.7886 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.002593, allocations: 145.2 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.002603, allocations: 4.375 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.002617, allocations: 9.281 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.002738, allocations: 81.61 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.002748, allocations: 2.781 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.002758, allocations: 8.312 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.002767, allocations: 384 / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.002814, allocations: 31.86 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.003442, allocations: 454.3 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.003488, allocations: 58.25 kB / 0.7894 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.003515, allocations: 20.75 kB / 0.7894 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.003522, allocations: 4 kB / 0.7894 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.003542, allocations: 37.91 kB / 0.7895 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003543, allocations: 0 / 0.7895 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.003673, allocations: 51.25 kB / 0.7895 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.003702, allocations: 77.11 kB / 0.7896 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.003796, allocations: 193.1 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.003804, allocations: 26.2 kB / 0.7898 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.003865, allocations: 163.2 kB / 0.7899 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.003873, allocations: 12.66 kB / 0.79 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.003901, allocations: 27.36 kB / 0.79 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.003997, allocations: 496.1 kB / 0.7905 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.004007, allocations: 1.156 kB / 0.7905 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.004027, allocations: 27.36 kB / 0.7905 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.004056, allocations: 24.75 kB / 0.7905 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004057, allocations: 0 / 0.7905 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.071e-05/0.004108, allocations: 51.39 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.004119, allocations: 6.188 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004124, allocations: 4 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.004139, allocations: 3.984 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.004186, allocations: 4.844 kB / 0.7906 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.004192, allocations: 3.938 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.004208, allocations: 9.234 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.004212, allocations: 4 kB / 0.7906 GB, free: 8.664 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 5.792e-05/0.00427, allocations: 160.5 kB / 0.7907 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.004291, allocations: 0.8438 kB / 0.7907 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.004313, allocations: 11.47 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.004316, allocations: 5.203 kB / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.004319, allocations: 0 / 0.7908 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.004322, allocations: 3.938 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.004571, allocations: 0.5473 MB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004572, allocations: 3.938 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.004582, allocations: 7.984 kB / 0.7913 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.004583, allocations: 1.594 kB / 0.7913 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.00459, allocations: 3.938 kB / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.004591, allocations: 0 / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004592, allocations: 0 / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.168e-05/0.004644, allocations: 82.89 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.004659, allocations: 16.02 kB / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.004668, allocations: 7.875 kB / 0.7914 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.004676, allocations: 4 kB / 0.7914 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.004688, allocations: 4 kB / 0.7914 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.004689, allocations: 0 / 0.7914 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.004731, allocations: 139.2 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004731, allocations: 0.5 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001212/0.004853, allocations: 16.42 kB / 0.7916 GB, free: 7.578 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 5.984e-05/0.004913, allocations: 101.2 kB / 0.7917 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.004976, allocations: 15.69 kB / 0.7917 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.004978, allocations: 3.938 kB / 0.7917 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.004987, allocations: 16.53 kB / 0.7917 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.005088, allocations: 4 kB / 0.7917 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.005336, allocations: 171.9 kB / 0.7919 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.005366, allocations: 63.34 kB / 0.7919 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.005386, allocations: 2.906 kB / 0.7919 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.005406, allocations: 12.5 kB / 0.7919 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.005407, allocations: 0 / 0.7919 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.001705/0.007112, allocations: 350.8 kB / 0.7923 GB, free: 6.797 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.26787929283455]