Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001568/0.001568, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001676/0.001676, allocations: 190.8 kB / 20.78 MB, free: 1.516 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.408/1.408, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.8829, allocations: 173.7 MB / 1.305 GB, free: 33.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002221/0.8852, allocations: 1.512 MB / 1.307 GB, free: 32.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.8854, allocations: 103.2 kB / 1.307 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.8855, allocations: 2.781 kB / 1.307 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.09e-05/0.8855, allocations: 7.266 kB / 1.307 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.8856, allocations: 10.72 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.8857, allocations: 21.56 kB / 1.307 GB, free: 32.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.8858, allocations: 43.42 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.8859, allocations: 13.8 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.8859, allocations: 17.36 kB / 1.307 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.886, allocations: 28.61 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.886, allocations: 3.031 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.8861, allocations: 18.44 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.8861, allocations: 15.44 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.8861, allocations: 18.06 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.8862, allocations: 64.38 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8862, allocations: 0 / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8862, allocations: 0 / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.8863, allocations: 0 / 1.307 GB, free: 32.35 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.0004321/0.8867, allocations: 384.1 kB / 1.308 GB, free: 31.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.8867, allocations: 8.281 kB / 1.308 GB, free: 31.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.8868, allocations: 7.797 kB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.59e-05/0.8868, allocations: 173.2 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.8868, allocations: 384 / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.8869, allocations: 3.219 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.8871, allocations: 75.92 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8871, allocations: 4.188 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.8871, allocations: 7.312 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.8871, allocations: 2.969 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.8874, allocations: 73.94 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.8877, allocations: 279.7 kB / 1.308 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.8878, allocations: 74.97 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.888, allocations: 45.58 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.8882, allocations: 105.8 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.8882, allocations: 37.84 kB / 1.308 GB, free: 31.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8882, allocations: 0 / 1.308 GB, free: 31.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004846/0.8887, allocations: 144.1 kB / 1.309 GB, free: 31.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.8887, allocations: 58.38 kB / 1.309 GB, free: 31.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.8888, allocations: 122.4 kB / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.8888, allocations: 29.64 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.8888, allocations: 98.27 kB / 1.309 GB, free: 30.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.8888, allocations: 14.94 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.8888, allocations: 16.59 kB / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.8889, allocations: 314.2 kB / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.889, allocations: 45.47 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.8891, allocations: 33.94 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.8894, allocations: 76.94 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8894, allocations: 3.938 kB / 1.309 GB, free: 30.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002789/0.8897, allocations: 122.7 kB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.8897, allocations: 2.844 kB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8897, allocations: 2.891 kB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8897, allocations: 3.984 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.8898, allocations: 19.42 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.8898, allocations: 3 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.8899, allocations: 13.12 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.8899, allocations: 0 / 1.31 GB, free: 30.43 MB / 1.061 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 4.367e-05/0.8899, allocations: 123.1 kB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.89, allocations: 11.08 kB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.8903, allocations: 115 kB / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.8903, allocations: 0 / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.8903, allocations: 4 kB / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8903, allocations: 0 / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.8904, allocations: 184.2 kB / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.8904, allocations: 0 / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.8905, allocations: 18.89 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8905, allocations: 0 / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.8905, allocations: 0 / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.8905, allocations: 2.75 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8905, allocations: 3.234 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.8908, allocations: 206.3 kB / 1.31 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.8908, allocations: 84.3 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.8908, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8909, allocations: 15.78 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.891, allocations: 7.328 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.891, allocations: 6.562 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.891, allocations: 96.25 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.891, allocations: 2.594 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002266/0.8912, allocations: 8.125 kB / 1.31 GB, free: 29.7 MB / 1.061 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.0001159/0.8913, allocations: 106.4 kB / 1.311 GB, free: 29.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.8917, allocations: 82.53 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8917, allocations: 0 / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.8918, allocations: 39.94 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.892, allocations: 14.19 kB / 1.311 GB, free: 29.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.8923, allocations: 158.2 kB / 1.311 GB, free: 29.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.092e-05/0.8924, allocations: 0.6904 MB / 1.311 GB, free: 28.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.8924, allocations: 3.281 kB / 1.311 GB, free: 28.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.8924, allocations: 22.22 kB / 1.311 GB, free: 28.73 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.8924, allocations: 0 / 1.311 GB, free: 28.73 MB / 1.061 GB Notification: Performance of Templates: time 0.003026/0.8955, allocations: 0.7979 MB / 1.312 GB, free: 28.64 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.948442430235445]