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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 192.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001962/0.001962, allocations: 71.88 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9419/0.9438, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002632/0.9465, allocations: 1.503 MB / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.9468, allocations: 111.7 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.9468, allocations: 0 / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.9468, allocations: 7.938 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.9469, allocations: 7.922 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.9471, allocations: 19.97 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.9472, allocations: 47.84 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.9473, allocations: 0 / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.9473, allocations: 23.92 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.9474, allocations: 19.91 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.9474, allocations: 8 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.9475, allocations: 19.98 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.9475, allocations: 15.92 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.9475, allocations: 23.86 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.9477, allocations: 54.42 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9477, allocations: 4 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.92e-07/0.9477, allocations: 0 / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.9477, allocations: 0 / 1.276 GB, free: 2.688 MB / 0.9669 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.000571/0.9482, allocations: 383.1 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.9483, allocations: 8.031 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.9483, allocations: 8.891 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.9485, allocations: 180.2 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.9485, allocations: 8.375 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.9485, allocations: 384 / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.9488, allocations: 74.16 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.9488, allocations: 192 / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.9488, allocations: 3.938 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.9488, allocations: 8 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.9491, allocations: 67.92 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.9495, allocations: 292.8 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.9498, allocations: 70.47 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.9499, allocations: 40.91 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.9502, allocations: 105.1 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.9502, allocations: 38.56 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.9502, allocations: 3.938 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005972/0.9508, allocations: 145.6 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.9508, allocations: 55.41 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.951, allocations: 126.7 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.951, allocations: 29.7 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.951, allocations: 92.08 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.9511, allocations: 15.89 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.9511, allocations: 9.719 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9512, allocations: 322.8 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.9514, allocations: 31.97 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.9516, allocations: 47.98 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.9519, allocations: 76.78 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9519, allocations: 3.938 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003561/0.9522, allocations: 117.5 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9522, allocations: 9.875 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9522, allocations: 4 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9523, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.9524, allocations: 15.98 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.9524, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/0.9525, allocations: 15.97 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.9525, allocations: 4 kB / 1.278 GB, free: 80 kB / 0.9669 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.0001145/0.9526, allocations: 117.8 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.9526, allocations: 3.953 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.9532, allocations: 125.4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.9532, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9532, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9532, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.9535, allocations: 181.6 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9535, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.9536, allocations: 15.98 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9536, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.9536, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.9536, allocations: 7.938 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9536, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.954, allocations: 215.3 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.9541, allocations: 77.11 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.9541, allocations: 11.94 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.9543, allocations: 7.984 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.9544, allocations: 7.984 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.9544, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.9544, allocations: 104.9 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9544, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004203/0.9549, allocations: 12 kB / 1.279 GB, free: 15.1 MB / 0.9825 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.0001924/0.9551, allocations: 103.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005518/0.9556, allocations: 79.92 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9556, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.9558, allocations: 43.89 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.9561, allocations: 3.938 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.9565, allocations: 161.8 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.957, allocations: 0.6885 MB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.957, allocations: 8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.9571, allocations: 11.44 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.9571, allocations: 0 / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of Templates: time 0.004787/0.9619, allocations: 0.8052 MB / 1.281 GB, free: 13.14 MB / 0.9825 GB " [Timeout remaining time 299] 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 cvode -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_2/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: 9.137698751874268]