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.001648/0.001648, allocations: 79.66 kB / 19.76 MB, free: 2.031 MB / 14.72 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.00201/0.00201, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 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.407/1.407, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.652/2.652, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2942, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002639/0.2969, allocations: 1.501 MB / 1.119 GB, free: 1.039 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.2972, allocations: 115.6 kB / 1.119 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.2972, allocations: 0 / 1.119 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.2973, allocations: 7.938 kB / 1.119 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.2973, allocations: 7.938 kB / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.2975, allocations: 23.97 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.2976, allocations: 43.84 kB / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.2977, allocations: 11.98 kB / 1.119 GB, free: 0.832 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.2977, allocations: 15.92 kB / 1.119 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.2978, allocations: 19.92 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2978, allocations: 4 kB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.2979, allocations: 19.98 kB / 1.119 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.2979, allocations: 15.92 kB / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.298, allocations: 15.92 kB / 1.119 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.2981, allocations: 63.73 kB / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2981, allocations: 0 / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2981, allocations: 0 / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2981, allocations: 0 / 1.119 GB, free: 0.6797 MB / 1.061 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.0005243/0.2986, allocations: 302.1 kB / 1.12 GB, free: 360 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2987, allocations: 15.97 kB / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.2987, allocations: 4.891 kB / 1.12 GB, free: 340 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2988, allocations: 122.4 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2988, allocations: 384 / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2988, allocations: 12.31 kB / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.2991, allocations: 82.2 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2991, allocations: 4.172 kB / 1.12 GB, free: 88 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2991, allocations: 3.938 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2991, allocations: 0 / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.2994, allocations: 71.92 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.2998, allocations: 228.6 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3, allocations: 62.53 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3002, allocations: 44.86 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.3004, allocations: 31.97 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3004, allocations: 42.55 kB / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3004, allocations: 0 / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.301, allocations: 145.5 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.301, allocations: 51.41 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3011, allocations: 132.5 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3011, allocations: 29.7 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.3012, allocations: 88.14 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.3012, allocations: 23.83 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3013, allocations: 9.719 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3014, allocations: 322.8 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.3016, allocations: 35.95 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3017, allocations: 35.97 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.302, allocations: 76.78 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.302, allocations: 0 / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003577/0.3024, allocations: 117.5 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3024, allocations: 8 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3024, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3024, allocations: 4 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3025, allocations: 15.98 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3025, allocations: 3.984 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.3026, allocations: 15.97 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3026, allocations: 0 / 1.121 GB, free: 14.41 MB / 1.076 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.65e-05/0.3027, allocations: 113.8 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.3027, allocations: 7.891 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.3031, allocations: 129.5 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3031, allocations: 4 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3031, allocations: 3.938 kB / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3031, allocations: 384 / 1.122 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3033, allocations: 121.2 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3033, allocations: 0 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3034, allocations: 23.91 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3034, allocations: 0 / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3034, allocations: 4 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3034, allocations: 4 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3034, allocations: 3.984 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.3038, allocations: 203.4 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.3038, allocations: 15.83 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3038, allocations: 0 / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.304, allocations: 15.98 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.304, allocations: 7.984 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.304, allocations: 0 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.3041, allocations: 99.27 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3041, allocations: 0 / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002339/0.3043, allocations: 12 kB / 1.122 GB, free: 13.59 MB / 1.076 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.0001316/0.3044, allocations: 99.19 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.3048, allocations: 83.91 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3048, allocations: 0 / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.305, allocations: 39.91 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.3052, allocations: 11.98 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.3055, allocations: 153.3 kB / 1.122 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.918e-05/0.3056, allocations: 71.33 kB / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.3056, allocations: 4 kB / 1.122 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.3057, allocations: 12.5 kB / 1.122 GB, free: 13.07 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.3057, allocations: 0 / 1.122 GB, free: 13.07 MB / 1.076 GB Notification: Performance of Templates: time 0.003241/0.3089, allocations: 0.8383 MB / 1.123 GB, free: 12.24 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.003440455999225]