Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.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.001295/0.001295, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001715/0.001715, allocations: 159.4 kB / 23.01 MB, free: 4.598 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.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.898 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.647/2.647, allocations: 359.1 MB / 0.6044 GB, free: 14.9 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.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") [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.002126/0.002126, allocations: 63.91 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2886, allocations: 169.9 MB / 1.117 GB, free: 2.605 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002637/0.2912, allocations: 1.517 MB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.2915, allocations: 99.75 kB / 1.119 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.2915, allocations: 0 / 1.119 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.2916, allocations: 3.938 kB / 1.119 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.2916, allocations: 15.86 kB / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.2918, allocations: 23.97 kB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.835e-05/0.2919, allocations: 39.91 kB / 1.119 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.292, allocations: 11.94 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.292, allocations: 19.92 kB / 1.119 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.2921, allocations: 15.92 kB / 1.119 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2921, allocations: 4 kB / 1.119 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.2921, allocations: 19.98 kB / 1.119 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.2922, allocations: 19.91 kB / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.2922, allocations: 19.86 kB / 1.119 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2923, allocations: 51.81 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2923, allocations: 4 kB / 1.119 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2923, allocations: 0 / 1.119 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2924, allocations: 0 / 1.119 GB, free: 0.7344 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.0005311/0.2929, allocations: 302 kB / 1.12 GB, free: 416 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2929, allocations: 16.02 kB / 1.12 GB, free: 400 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.293, allocations: 8.891 kB / 1.12 GB, free: 392 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2931, allocations: 125.1 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.2931, allocations: 384 / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.2931, allocations: 4.375 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2934, allocations: 82.14 kB / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.2934, allocations: 192 / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2934, allocations: 3.938 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2934, allocations: 0 / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.2937, allocations: 75.92 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.294, allocations: 224.6 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.2943, allocations: 74.47 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.2944, allocations: 40.86 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.2946, allocations: 31.97 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2946, allocations: 34.56 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2946, allocations: 4 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.000582/0.2952, allocations: 145.5 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2953, allocations: 55.41 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2954, allocations: 129.8 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2954, allocations: 25.7 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.2954, allocations: 96.06 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.2955, allocations: 19.84 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.2955, allocations: 13.72 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2957, allocations: 318.8 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.2958, allocations: 31.97 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.296, allocations: 39.95 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.2963, allocations: 80.78 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2963, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003551/0.2966, allocations: 105.6 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2966, allocations: 7.984 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2966, allocations: 0 / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2967, allocations: 4 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2968, allocations: 19.92 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2968, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.2969, allocations: 11.98 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2969, allocations: 0 / 1.121 GB, free: 14.47 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.975e-05/0.297, allocations: 117.8 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.297, allocations: 11.89 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.2974, allocations: 125.5 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2974, allocations: 0 / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2974, allocations: 0 / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2974, allocations: 3.938 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2976, allocations: 129.3 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2976, allocations: 0 / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.2977, allocations: 19.86 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2977, allocations: 4 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2977, allocations: 0 / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2977, allocations: 4 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2977, allocations: 0 / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.2981, allocations: 207.4 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.2981, allocations: 7.891 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2981, allocations: 0 / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2982, allocations: 15.97 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2983, allocations: 8 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.2983, allocations: 4.422 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.452e-05/0.2983, allocations: 95.27 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2983, allocations: 0 / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002434/0.2986, allocations: 11.98 kB / 1.122 GB, free: 13.66 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.000124/0.2987, allocations: 96.12 kB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.2991, allocations: 87.86 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2991, allocations: 0 / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.2992, allocations: 40.05 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.2995, allocations: 7.062 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.2998, allocations: 161.3 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.2999, allocations: 71.33 kB / 1.122 GB, free: 13.15 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.2999, allocations: 4 kB / 1.122 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2999, allocations: 12.5 kB / 1.122 GB, free: 13.13 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.2999, allocations: 3.938 kB / 1.122 GB, free: 13.13 MB / 1.076 GB Notification: Performance of Templates: time 0.00329/0.3032, allocations: 0.8375 MB / 1.123 GB, free: 12.3 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.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.031390301999636]