Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001049/0.001049, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001045/0.001045, allocations: 185 kB / 24.09 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.976/0.976, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.809/1.809, allocations: 359 MB / 0.6055 GB, free: 10.9 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.682e-05, allocations: 3.406 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001589/0.001615, allocations: 0.8119 MB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001245/0.00174, allocations: 40.34 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.001791, allocations: 4.688 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.001829, allocations: 7.875 kB / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.214e-05/0.001911, allocations: 20.7 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.907e-05/0.00195, allocations: 15.98 kB / 0.7885 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.002036, allocations: 60.5 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.002144, allocations: 31.97 kB / 0.7885 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.689e-05/0.002241, allocations: 48.36 kB / 0.7886 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.002279, allocations: 19.36 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.002297, allocations: 7.984 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.002304, allocations: 8 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.002322, allocations: 7.938 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.002346, allocations: 19.92 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.703e-05/0.002433, allocations: 39.78 kB / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002435, allocations: 0 / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002436, allocations: 0 / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.002442, allocations: 3.984 kB / 0.7887 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.0003434/0.002785, allocations: 412.9 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.002826, allocations: 13.69 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.002856, allocations: 12.89 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.002979, allocations: 132.5 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.002989, allocations: 8.375 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.002998, allocations: 8.312 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.003103, allocations: 84.34 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.003112, allocations: 192 / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.00312, allocations: 4.375 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.003128, allocations: 13.89 kB / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.00316, allocations: 23.86 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.003587, allocations: 0.7224 MB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.003665, allocations: 265.4 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.003696, allocations: 132.1 kB / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.003734, allocations: 119.2 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.003773, allocations: 152.6 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.003774, allocations: 1.469 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.536e-05/0.00383, allocations: 41.58 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.003877, allocations: 170.6 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.003984, allocations: 202.8 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.003992, allocations: 25.7 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.004068, allocations: 175 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.004071, allocations: 8.859 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.004101, allocations: 23.38 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.004217, allocations: 0.4892 MB / 0.7918 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.004226, allocations: 3.984 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.004267, allocations: 81.95 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/0.004335, allocations: 88.05 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004337, allocations: 0.6562 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.004445, allocations: 87.33 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.004459, allocations: 8 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.004465, allocations: 0.7812 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.004476, allocations: 4 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.00453, allocations: 21.14 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.004534, allocations: 0 / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.004558, allocations: 7.938 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.004562, allocations: 4.969 kB / 0.7921 GB, free: 7.297 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 9.415e-05/0.004656, allocations: 283.7 kB / 0.7924 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.004711, allocations: 159 kB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.004764, allocations: 160.7 kB / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003444/0.005108, allocations: 268 kB / 0.7929 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.758e-05/0.005165, allocations: 268.1 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-05/0.005225, allocations: 276 kB / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.005395, allocations: 496.4 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.005428, allocations: 148.1 kB / 0.7941 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.005459, allocations: 156.8 kB / 0.7942 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.797e-05/0.005517, allocations: 268.1 kB / 0.7945 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.005575, allocations: 264.1 kB / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.548e-05/0.005641, allocations: 272.2 kB / 0.795 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.614e-05/0.005697, allocations: 268.1 kB / 0.7952 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.005826, allocations: 455.8 kB / 0.7957 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.005876, allocations: 152.8 kB / 0.7958 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.005942, allocations: 268 kB / 0.7961 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.005995, allocations: 146 kB / 0.7962 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.006059, allocations: 276.3 kB / 0.7965 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.006092, allocations: 148.9 kB / 0.7966 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.006144, allocations: 141.8 kB / 0.7968 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006144, allocations: 0.5312 kB / 0.7968 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001527/0.006297, allocations: 12.52 kB / 0.7968 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 0.0001119/0.006409, allocations: 215.5 kB / 0.797 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.006483, allocations: 48.34 kB / 0.797 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.006485, allocations: 0.8125 kB / 0.797 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.006486, allocations: 0 / 0.797 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.006795, allocations: 0.7071 MB / 0.7977 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.007037, allocations: 277.5 kB / 0.798 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.00707, allocations: 61 kB / 0.798 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.007108, allocations: 8.234 kB / 0.798 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.007142, allocations: 70.2 kB / 0.7981 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.007143, allocations: 0 / 0.7981 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of Templates: time 0.001786/0.008929, allocations: 336 kB / 0.7984 GB, free: 0.582 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.963013601955026]