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.002649/0.002649, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003175/0.003175, allocations: 157.3 kB / 23.55 MB, free: 0.8711 MB / 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 1.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.849/2.849, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.478e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002747/0.002772, allocations: 1.514 MB / 0.7879 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003011/0.003073, allocations: 99.73 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.003101, allocations: 0 / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.066e-05/0.003161, allocations: 8.797 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.003217, allocations: 8.969 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.003415, allocations: 23.91 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.003501, allocations: 39.86 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.003583, allocations: 16.78 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.003658, allocations: 23.92 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.003704, allocations: 17.45 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.003723, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.003794, allocations: 11.98 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.003841, allocations: 15.92 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.003866, allocations: 11.09 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.004012, allocations: 67.78 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004014, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004014, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004018, allocations: 0 / 0.7882 GB, free: 10.97 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.0005538/0.004572, allocations: 396 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.004605, allocations: 8.031 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.004655, allocations: 12.89 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.004785, allocations: 117.6 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.004799, allocations: 4.375 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.004808, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.005002, allocations: 58.83 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005011, allocations: 1.375 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.005019, allocations: 384 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005025, allocations: 4.375 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.005206, allocations: 45.59 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.005624, allocations: 287.7 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.005788, allocations: 52.58 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.005894, allocations: 31.77 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.006069, allocations: 29.66 kB / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.006112, allocations: 37.39 kB / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006113, allocations: 2.219 kB / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004352/0.006549, allocations: 105.5 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.006591, allocations: 55.34 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.006754, allocations: 189.9 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.006775, allocations: 26.23 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.006868, allocations: 143.5 kB / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.006885, allocations: 3.953 kB / 0.7897 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.006931, allocations: 23.88 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000269/0.0072, allocations: 0.4962 MB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.007295, allocations: 21.58 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.007377, allocations: 15.98 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.007547, allocations: 48.28 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007548, allocations: 0.8125 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002282/0.007776, allocations: 86.11 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.007793, allocations: 12.53 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007797, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.007809, allocations: 0.6875 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.007906, allocations: 17.36 kB / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.00791, allocations: 0 / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.00796, allocations: 8 kB / 0.7905 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007966, allocations: 0 / 0.7905 GB, free: 8.473 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 0.000111/0.008077, allocations: 157.7 kB / 0.7906 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.008119, allocations: 8.281 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.008395, allocations: 98.25 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008397, allocations: 0.5938 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.0084, allocations: 4.844 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.008402, allocations: 0 / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.008578, allocations: 128.6 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008579, allocations: 1.969 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.008649, allocations: 11.98 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008651, allocations: 0 / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.008658, allocations: 0 / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.008663, allocations: 3.938 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008664, allocations: 0.6562 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.008989, allocations: 234.3 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-06/0.008998, allocations: 0 / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.009014, allocations: 4 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.009107, allocations: 11.92 kB / 0.7911 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.009152, allocations: 11.88 kB / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.009156, allocations: 1.844 kB / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.709e-05/0.009253, allocations: 141.2 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009253, allocations: 0 / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002241/0.009477, allocations: 11.94 kB / 0.7912 GB, free: 7.598 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.0001438/0.009621, allocations: 99.77 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.009869, allocations: 56.84 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.00987, allocations: 0 / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.009987, allocations: 32.39 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01023, allocations: 17.02 kB / 0.7914 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.01058, allocations: 158 kB / 0.7916 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.071e-05/0.01066, allocations: 72.25 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.01069, allocations: 4.531 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.01073, allocations: 12.5 kB / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01073, allocations: 0 / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of Templates: time 0.004013/0.01474, allocations: 0.8525 MB / 0.7925 GB, free: 6.266 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.857047804049216]