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.001376/0.001376, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001073/0.001073, allocations: 177 kB / 24.08 MB, free: 416 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.978/0.978, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.736/1.736, allocations: 359 MB / 0.6055 GB, free: 10.85 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.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 2.715e-06/2.715e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.281e-05, allocations: 10.84 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001688/0.00172, allocations: 0.8158 MB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.001857, allocations: 35.8 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.001901, allocations: 1.562 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.351e-05/0.001945, allocations: 11.86 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.002028, allocations: 11.88 kB / 0.7884 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.667e-05/0.002084, allocations: 19.98 kB / 0.7884 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.002186, allocations: 61.34 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.002308, allocations: 39.95 kB / 0.7885 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.002394, allocations: 35.91 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.00244, allocations: 11.92 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.002457, allocations: 9.094 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.002464, allocations: 4 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.002482, allocations: 11.92 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.002506, allocations: 24.58 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.002603, allocations: 43.77 kB / 0.7887 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002606, allocations: 1.062 kB / 0.7887 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002607, allocations: 0 / 0.7887 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.002612, allocations: 2.281 kB / 0.7887 GB, free: 11.06 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.0003279/0.00294, allocations: 408.2 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.002986, allocations: 8.031 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.003008, allocations: 16.89 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.003133, allocations: 140.4 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.003141, allocations: 8.375 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.00315, allocations: 6.312 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.003254, allocations: 91.55 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.00326, allocations: 192 / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.003268, allocations: 4.375 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.003271, allocations: 4.375 kB / 0.7893 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.003295, allocations: 24.58 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.003693, allocations: 0.7229 MB / 0.7901 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.003791, allocations: 269.4 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.003828, allocations: 128.5 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.00386, allocations: 127.2 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.00392, allocations: 152.6 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.003921, allocations: 0 / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.48e-05/0.003966, allocations: 38.34 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.136e-05/0.004027, allocations: 170.6 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.00414, allocations: 204.4 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.004148, allocations: 25.7 kB / 0.7911 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.004232, allocations: 179.6 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.004235, allocations: 4 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.004269, allocations: 23.38 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.004396, allocations: 0.4936 MB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.004405, allocations: 4 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.004454, allocations: 73.48 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.385e-05/0.004528, allocations: 92.52 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.00453, allocations: 0 / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.293e-05/0.004623, allocations: 80.39 kB / 0.792 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.004635, allocations: 8 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.004641, allocations: 4 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.004651, allocations: 4 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.004693, allocations: 24.42 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.004696, allocations: 160 / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.004716, allocations: 9.875 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.00472, allocations: 4 kB / 0.7921 GB, free: 7.277 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 0.0001159/0.004836, allocations: 279.7 kB / 0.7924 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.004886, allocations: 160.8 kB / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.004943, allocations: 163.2 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/0.004997, allocations: 264.1 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.948e-05/0.005067, allocations: 268 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.38e-05/0.005131, allocations: 276 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.005309, allocations: 0.4887 MB / 0.7939 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.005349, allocations: 148.9 kB / 0.7941 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.005382, allocations: 148.9 kB / 0.7942 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-05/0.005447, allocations: 268.9 kB / 0.7945 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.005506, allocations: 264.1 kB / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.325e-05/0.00557, allocations: 276.8 kB / 0.795 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-05/0.005626, allocations: 264.1 kB / 0.7952 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.005773, allocations: 459.8 kB / 0.7957 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.005818, allocations: 154.1 kB / 0.7958 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.005895, allocations: 268 kB / 0.7961 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.005947, allocations: 148.9 kB / 0.7962 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.006025, allocations: 273.2 kB / 0.7965 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.006058, allocations: 144.9 kB / 0.7966 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.006111, allocations: 146.8 kB / 0.7967 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006111, allocations: 0 / 0.7967 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001483/0.00626, allocations: 11.95 kB / 0.7968 GB, free: 2.316 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.0001187/0.006378, allocations: 219.8 kB / 0.797 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.327e-05/0.006442, allocations: 33.69 kB / 0.797 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006443, allocations: 0 / 0.797 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.006446, allocations: 3.938 kB / 0.797 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.006768, allocations: 0.7101 MB / 0.7977 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.007025, allocations: 278.5 kB / 0.798 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.00706, allocations: 59.34 kB / 0.798 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.007094, allocations: 6.891 kB / 0.798 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.00713, allocations: 71.36 kB / 0.7981 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.007131, allocations: 0 / 0.7981 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of Templates: time 0.001976/0.009106, allocations: 342 kB / 0.7984 GB, free: 0.5586 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: 4.887644516304135]