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.00143/0.00143, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001718/0.001718, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.782/2.782, allocations: 359 MB / 0.6048 GB, free: 10.93 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.673e-06/1.673e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.655e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002991/0.003017, allocations: 1.509 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003274/0.003345, allocations: 105.3 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.003378, allocations: 0 / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.00343, allocations: 3.938 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.003487, allocations: 10.25 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.003702, allocations: 23.97 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.96e-05/0.003802, allocations: 47.78 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.003887, allocations: 11.98 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.003961, allocations: 23.97 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.004007, allocations: 13.83 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.004026, allocations: 4 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.004098, allocations: 19.92 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.004149, allocations: 11.98 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.00418, allocations: 11.94 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.00433, allocations: 64.31 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004333, allocations: 1.469 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004334, allocations: 0 / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.004338, allocations: 0 / 0.7882 GB, free: 10.93 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.0005798/0.004917, allocations: 307.8 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.004955, allocations: 12.03 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.005005, allocations: 8.891 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.005138, allocations: 113.8 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.005153, allocations: 5.469 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.005165, allocations: 4.375 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.00544, allocations: 74.95 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.005453, allocations: 4.172 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.005463, allocations: 1.344 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.005467, allocations: 384 / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.005787, allocations: 82.39 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.006173, allocations: 236.5 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.006404, allocations: 67.25 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.006591, allocations: 47.09 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.006796, allocations: 28.55 kB / 0.7891 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.006834, allocations: 34.5 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006835, allocations: 0.5 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006335/0.007468, allocations: 152.9 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.007514, allocations: 55.39 kB / 0.7894 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.007643, allocations: 121.8 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.007666, allocations: 25.7 kB / 0.7895 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.007739, allocations: 100.9 kB / 0.7896 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.007758, allocations: 3.953 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.007799, allocations: 18.56 kB / 0.7896 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.007965, allocations: 314.8 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.008128, allocations: 41.25 kB / 0.79 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.008278, allocations: 40.73 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.008581, allocations: 77.94 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.008582, allocations: 1.375 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003603/0.008943, allocations: 115.1 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.008961, allocations: 11.94 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008966, allocations: 0 / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.008983, allocations: 2.844 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.009107, allocations: 11.98 kB / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.009113, allocations: 4 kB / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.009193, allocations: 7.984 kB / 0.7902 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.009202, allocations: 7.938 kB / 0.7902 GB, free: 8.68 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.0001101/0.009313, allocations: 122.3 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.009352, allocations: 3.953 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.009761, allocations: 124 kB / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.009763, allocations: 0 / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.009768, allocations: 0 / 0.7905 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.009773, allocations: 5.453 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.009946, allocations: 117.3 kB / 0.7906 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.00995, allocations: 4 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-05/0.01005, allocations: 12.64 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01005, allocations: 0.6875 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01006, allocations: 6.844 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.01007, allocations: 11.92 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01007, allocations: 0 / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.01051, allocations: 203.4 kB / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.01052, allocations: 11.98 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.01053, allocations: 2.094 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.01066, allocations: 19.92 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.0107, allocations: 0 / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.0107, allocations: 4 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.25e-05/0.01079, allocations: 106 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01079, allocations: 0.9375 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00024/0.01103, allocations: 11.94 kB / 0.791 GB, free: 7.879 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.0001597/0.01119, allocations: 96.38 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.01157, allocations: 90.12 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01157, allocations: 0 / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.01173, allocations: 37.72 kB / 0.7912 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01199, allocations: 9.547 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.0124, allocations: 165 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.153e-05/0.01248, allocations: 68.69 kB / 0.7914 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.01252, allocations: 7.984 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.01255, allocations: 12.5 kB / 0.7914 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01255, allocations: 0 / 0.7914 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of Templates: time 0.003724/0.01627, allocations: 0.8453 MB / 0.7923 GB, free: 6.52 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=400 -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/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.440648559015244]