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.001014/0.001014, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001158/0.001158, allocations: 166.6 kB / 24.87 MB, free: 8.875 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.817/1.817, allocations: 359 MB / 0.6063 GB, free: 10.89 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.443e-06/1.443e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.488e-05, allocations: 2.938 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001254/0.001269, allocations: 0.8141 MB / 0.7891 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 9.618e-05/0.001365, allocations: 39.78 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.001414, allocations: 4 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.001443, allocations: 12.58 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.001508, allocations: 3.938 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.841e-05/0.001546, allocations: 20.77 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.001626, allocations: 67.77 kB / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.001723, allocations: 37.16 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.001802, allocations: 43.89 kB / 0.7893 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.001834, allocations: 11.92 kB / 0.7894 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.001848, allocations: 5.406 kB / 0.7894 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.001855, allocations: 8 kB / 0.7894 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.001871, allocations: 11.94 kB / 0.7894 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.001894, allocations: 23.91 kB / 0.7894 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.119e-05/0.001965, allocations: 40.89 kB / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.001967, allocations: 0 / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.001968, allocations: 0 / 0.7894 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.001971, allocations: 1.5 kB / 0.7894 GB, free: 11.07 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.0002812/0.002252, allocations: 408.2 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.002285, allocations: 15.97 kB / 0.7898 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.002311, allocations: 18.48 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.002446, allocations: 136.5 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.002459, allocations: 8.375 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.002469, allocations: 4.375 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.002582, allocations: 85.53 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.002591, allocations: 1.938 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.0026, allocations: 4.375 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.002607, allocations: 4.375 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.002645, allocations: 19.92 kB / 0.7901 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.003017, allocations: 0.7209 MB / 0.7908 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.003091, allocations: 269.6 kB / 0.7911 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.003119, allocations: 130.9 kB / 0.7912 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.003146, allocations: 127.2 kB / 0.7913 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.003182, allocations: 152.6 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.003183, allocations: 0 / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.914e-05/0.003232, allocations: 38.22 kB / 0.7915 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.003298, allocations: 172.2 kB / 0.7917 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.003395, allocations: 203.3 kB / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.003402, allocations: 25.7 kB / 0.7919 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.003467, allocations: 178.4 kB / 0.7921 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.003469, allocations: 0 / 0.7921 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.003499, allocations: 32.52 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.003607, allocations: 496.1 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.003615, allocations: 7.984 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.003653, allocations: 74.86 kB / 0.7926 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.149e-05/0.003714, allocations: 91.73 kB / 0.7927 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.003717, allocations: 4 kB / 0.7927 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.642e-05/0.003814, allocations: 80.3 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.003824, allocations: 4 kB / 0.7928 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.003828, allocations: 4 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.003836, allocations: 4 kB / 0.7928 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/0.00388, allocations: 22.14 kB / 0.7928 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.003884, allocations: 7.875 kB / 0.7928 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.003906, allocations: 11.94 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.003911, allocations: 4 kB / 0.7929 GB, free: 7.289 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.383e-05/0.003994, allocations: 279.7 kB / 0.7931 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.004038, allocations: 157.4 kB / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.004081, allocations: 157.3 kB / 0.7934 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/0.004136, allocations: 268.1 kB / 0.7937 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.408e-05/0.004191, allocations: 268.5 kB / 0.7939 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/0.004259, allocations: 273.6 kB / 0.7942 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.004421, allocations: 496.5 kB / 0.7947 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/0.004452, allocations: 152.8 kB / 0.7948 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.004482, allocations: 144.9 kB / 0.795 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.507e-05/0.004537, allocations: 272 kB / 0.7952 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.004596, allocations: 264.6 kB / 0.7955 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.849e-05/0.004654, allocations: 265.4 kB / 0.7957 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.026e-05/0.004714, allocations: 272 kB / 0.796 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.004839, allocations: 459.8 kB / 0.7964 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.004881, allocations: 153.8 kB / 0.7966 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.004944, allocations: 276 kB / 0.7968 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.004995, allocations: 144.9 kB / 0.797 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.005061, allocations: 265.2 kB / 0.7972 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.005095, allocations: 152.8 kB / 0.7974 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.005141, allocations: 146.2 kB / 0.7975 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005141, allocations: 0 / 0.7975 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001526/0.005294, allocations: 11.95 kB / 0.7975 GB, free: 2.336 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 8.986e-05/0.005384, allocations: 215.7 kB / 0.7977 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.288e-05/0.005446, allocations: 33.28 kB / 0.7978 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.005448, allocations: 0 / 0.7978 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.005451, allocations: 8 kB / 0.7978 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.005733, allocations: 0.707 MB / 0.7985 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.005949, allocations: 281.5 kB / 0.7987 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.005981, allocations: 62.81 kB / 0.7988 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.006011, allocations: 4.719 kB / 0.7988 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.006045, allocations: 74.2 kB / 0.7989 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.006045, allocations: 0 / 0.7989 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of Templates: time 0.001608/0.007653, allocations: 345.3 kB / 0.7992 GB, free: 0.5781 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.1328911036252975]