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.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.001265/0.001265, allocations: 78.64 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.001368/0.001368, allocations: 159.7 kB / 23.01 MB, free: 4.594 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.873/2.873, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002277/0.002277, allocations: 67.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8468, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002559/0.8493, allocations: 1.504 MB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.8497, allocations: 105.1 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.8497, allocations: 4 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.8497, allocations: 5.938 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.8498, allocations: 10.16 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.85, allocations: 16.31 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.8501, allocations: 51.98 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.471e-05/0.8501, allocations: 4.984 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.8502, allocations: 17.55 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.8502, allocations: 22.67 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.8503, allocations: 3.969 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.8503, allocations: 20.31 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.8504, allocations: 17.89 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.8504, allocations: 18.02 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.8506, allocations: 56.67 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8506, allocations: 0.7969 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8506, allocations: 3.938 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.8506, allocations: 1.562 kB / 1.188 GB, free: 14.95 MB / 1.076 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.000445/0.851, allocations: 295.7 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.851, allocations: 9.281 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.8511, allocations: 11.86 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.8512, allocations: 121.9 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.8512, allocations: 4.375 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.8512, allocations: 3.594 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.8514, allocations: 74.22 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8514, allocations: 192 / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.8514, allocations: 3.938 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8514, allocations: 1.156 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.8518, allocations: 83.48 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.852, allocations: 224.5 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.8522, allocations: 63.73 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.8524, allocations: 49.39 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.8526, allocations: 33.97 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.8526, allocations: 32.44 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8526, allocations: 0 / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005784/0.8532, allocations: 151.3 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.8532, allocations: 52.53 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.8533, allocations: 124.2 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.8533, allocations: 25.7 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.8534, allocations: 101 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.8534, allocations: 10.16 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.8534, allocations: 17.88 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.8535, allocations: 315.7 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.8536, allocations: 39.2 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.8538, allocations: 40.2 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.8541, allocations: 79.83 kB / 1.19 GB, free: 13.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8541, allocations: 0 / 1.19 GB, free: 13.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003586/0.8544, allocations: 120.6 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8544, allocations: 7.062 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8544, allocations: 0 / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8545, allocations: 1.516 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.8546, allocations: 15.81 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.8546, allocations: 1.5 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.8547, allocations: 11.14 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.8547, allocations: 5.719 kB / 1.19 GB, free: 13.36 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 5.554e-05/0.8547, allocations: 118.8 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.8548, allocations: 15.06 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.8551, allocations: 123.4 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8552, allocations: 1.188 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8552, allocations: 0 / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.8552, allocations: 2.062 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.8553, allocations: 121 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8553, allocations: 4 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.8554, allocations: 19.06 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.8554, allocations: 5.844 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.8554, allocations: 0 / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8554, allocations: 1.438 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8554, allocations: 0 / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.8558, allocations: 209.8 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.8558, allocations: 14 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.8558, allocations: 1.844 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.8559, allocations: 11.06 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.8559, allocations: 4.094 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.8559, allocations: 1.25 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.856, allocations: 104.5 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.856, allocations: 0 / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002458/0.8562, allocations: 9.328 kB / 1.191 GB, free: 12.79 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.0001221/0.8564, allocations: 103.4 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.8567, allocations: 78.77 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8567, allocations: 1.125 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.8569, allocations: 42.86 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.8572, allocations: 3.141 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.8575, allocations: 163.2 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.8576, allocations: 69.62 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.8576, allocations: 2 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.8576, allocations: 11.78 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/0.8576, allocations: 0 / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of Templates: time 0.003625/0.8613, allocations: 0.8495 MB / 1.192 GB, free: 12.32 MB / 1.076 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/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.51547021290753]