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.0009243/0.0009243, allocations: 85.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.001033/0.001033, allocations: 181 kB / 24.09 MB, free: 420 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.9355/0.9355, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.822/1.822, allocations: 359 MB / 0.6055 GB, free: 10.87 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 2.044e-06/2.044e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.861e-05, allocations: 3.094 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003051/0.00308, allocations: 1.538 MB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003747/0.003454, allocations: 104.3 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.003495, allocations: 0.6875 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.251e-05/0.003548, allocations: 8.828 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.003618, allocations: 11.88 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.003852, allocations: 20.62 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.003938, allocations: 41.45 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.004036, allocations: 11.98 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.004112, allocations: 27.91 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.196e-05/0.004164, allocations: 15.98 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.004187, allocations: 4.5 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.004265, allocations: 23.97 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.004312, allocations: 11.38 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.004342, allocations: 15.98 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.004483, allocations: 47.81 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004486, allocations: 0 / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.292e-06/0.004487, allocations: 4 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004492, allocations: 0 / 0.7894 GB, free: 10.31 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.0004299/0.004921, allocations: 392.4 kB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.004968, allocations: 15.97 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.005007, allocations: 9.609 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.005107, allocations: 116.5 kB / 0.7899 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.00512, allocations: 6.031 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.005131, allocations: 4.375 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.005297, allocations: 62.94 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.005306, allocations: 4.125 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.005314, allocations: 0.9062 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.00532, allocations: 1.75 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.005356, allocations: 11.92 kB / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.005677, allocations: 252.4 kB / 0.7902 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/0.005755, allocations: 36.33 kB / 0.7903 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.005779, allocations: 11.77 kB / 0.7903 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.005929, allocations: 33.36 kB / 0.7903 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.005956, allocations: 33.39 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.715e-06/0.005959, allocations: 1.125 kB / 0.7903 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001626/0.006122, allocations: 49.56 kB / 0.7904 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.006152, allocations: 51.41 kB / 0.7904 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.006266, allocations: 186.7 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.006279, allocations: 25.7 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.006338, allocations: 144.2 kB / 0.7908 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.006363, allocations: 11.95 kB / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.006401, allocations: 23.38 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.006552, allocations: 0.4923 MB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.006575, allocations: 4.5 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.00659, allocations: 4.562 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.006631, allocations: 15.67 kB / 0.7913 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006633, allocations: 5 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.915e-05/0.006722, allocations: 45.66 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.006738, allocations: 8.875 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.006743, allocations: 0 / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.00676, allocations: 7.922 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.006855, allocations: 9.188 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.006858, allocations: 0 / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.006897, allocations: 13.33 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.006905, allocations: 0 / 0.7914 GB, free: 8.066 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 8.966e-05/0.006994, allocations: 156.6 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.007027, allocations: 12.48 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.007428, allocations: 57.59 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.007433, allocations: 4.438 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007434, allocations: 0.5312 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.007438, allocations: 0 / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.007578, allocations: 114 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.00758, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.007647, allocations: 8.812 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007649, allocations: 0 / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.007655, allocations: 0.8125 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007657, allocations: 0 / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.007661, allocations: 4.922 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.007803, allocations: 200.2 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.007815, allocations: 8.016 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.007826, allocations: 1.219 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.007899, allocations: 4 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.007941, allocations: 15.92 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.007946, allocations: 0.9375 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.008009, allocations: 137.5 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008009, allocations: 2.219 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002499/0.008259, allocations: 15.95 kB / 0.7921 GB, free: 7.285 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.0001527/0.008412, allocations: 99.25 kB / 0.7922 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.0085, allocations: 19.67 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.008502, allocations: 3.188 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.008533, allocations: 15.62 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.008799, allocations: 10.02 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.00913, allocations: 154 kB / 0.7924 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.009171, allocations: 55.36 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.009203, allocations: 5.156 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.009268, allocations: 74.19 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.009269, allocations: 0 / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.003563/0.01283, allocations: 0.9364 MB / 0.7935 GB, free: 5.883 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.067964072804898]