Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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.001018/0.001018, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009849/0.0009849, allocations: 169 kB / 24.28 MB, free: 276 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.9693/0.9693, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.873/1.873, allocations: 359 MB / 0.6055 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.673e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001979/0.002006, allocations: 1.526 MB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.002266, allocations: 108.5 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.002306, allocations: 4 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.974e-05/0.002355, allocations: 8.453 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.002412, allocations: 12.89 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.002625, allocations: 23.97 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.768e-05/0.002703, allocations: 45.05 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.002793, allocations: 7.984 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.00285, allocations: 19.98 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.002891, allocations: 17.44 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.002908, allocations: 4 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.291e-05/0.002971, allocations: 23.92 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.003016, allocations: 15.92 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.00304, allocations: 17.05 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003168, allocations: 51.88 kB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003171, allocations: 0 / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003172, allocations: 0.625 kB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.003177, allocations: 0 / 0.7889 GB, free: 10.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005169/0.003694, allocations: 389.8 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.003732, allocations: 11.97 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.003775, allocations: 20.86 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.003869, allocations: 121.5 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.003882, allocations: 384 / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.003894, allocations: 384 / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.004034, allocations: 76 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004041, allocations: 192 / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.004049, allocations: 1.688 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.004056, allocations: 384 / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.00409, allocations: 11.92 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.00439, allocations: 274.8 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.004458, allocations: 38.98 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.004484, allocations: 11.69 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.004623, allocations: 32.06 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.004642, allocations: 33.39 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.502e-06/0.004644, allocations: 0.7188 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001629/0.004807, allocations: 55.28 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.004853, allocations: 51.41 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.004939, allocations: 177.9 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.004951, allocations: 29.69 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.004998, allocations: 142.8 kB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.005015, allocations: 9.141 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.005043, allocations: 27.31 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.005145, allocations: 0.4962 MB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.005163, allocations: 1.594 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.005177, allocations: 4 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.005211, allocations: 19.67 kB / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005212, allocations: 4 kB / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.33e-05/0.005275, allocations: 43.38 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.00529, allocations: 9.812 kB / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005295, allocations: 0 / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.005307, allocations: 0 / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.005383, allocations: 16.8 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.005388, allocations: 0 / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.005413, allocations: 15.92 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.005421, allocations: 4.531 kB / 0.791 GB, free: 8.602 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.923e-05/0.00548, allocations: 157.2 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.005496, allocations: 8.484 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.89e-05/0.005595, allocations: 65.91 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005596, allocations: 1.312 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.005599, allocations: 0 / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005603, allocations: 0 / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.621e-05/0.005699, allocations: 129.1 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0057, allocations: 0 / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.005733, allocations: 13.36 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005735, allocations: 4 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.005741, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.005744, allocations: 9.031 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.005745, allocations: 0 / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/0.005841, allocations: 195.9 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-06/0.005847, allocations: 1.156 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.005858, allocations: 8 kB / 0.7915 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.005897, allocations: 11.92 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.005934, allocations: 5.75 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.005937, allocations: 0 / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.005979, allocations: 137.5 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005979, allocations: 4 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001478/0.006127, allocations: 11.95 kB / 0.7917 GB, free: 7.793 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 (3): * Single equations (assignments): 3 * 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.0001207/0.006248, allocations: 104 kB / 0.7918 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.006332, allocations: 20.56 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006333, allocations: 0 / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.006356, allocations: 21.02 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.006544, allocations: 10.53 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.00684, allocations: 150.9 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.006875, allocations: 61.38 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.803e-05/0.006893, allocations: 0 / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.006919, allocations: 12.5 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.006919, allocations: 0 / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of Templates: time 0.002546/0.009466, allocations: 0.859 MB / 0.7929 GB, free: 6.539 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.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.086890029953793]