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.001244/0.001244, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00184/0.00184, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9622/0.9622, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.58/2.58, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.799e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002045/0.002063, allocations: 1.584 MB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.002344, allocations: 107.5 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.002376, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.002422, allocations: 7.922 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.002483, allocations: 11.92 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.00264, allocations: 23.97 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.38e-05/0.002713, allocations: 43.8 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.002799, allocations: 11.98 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.002865, allocations: 19.98 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.002908, allocations: 23.91 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.002926, allocations: 4 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.002997, allocations: 19.97 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.003041, allocations: 11.94 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.003059, allocations: 15.98 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.003164, allocations: 47.81 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.522e-06/0.003166, allocations: 4 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003166, allocations: 0 / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003169, allocations: 0 / 0.8405 GB, free: 12.16 MB / 0.8073 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.0002976/0.003467, allocations: 276.7 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.003499, allocations: 8.625 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.003523, allocations: 4.938 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.003606, allocations: 117.7 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.003614, allocations: 384 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.003623, allocations: 4.375 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.003732, allocations: 73.7 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.003739, allocations: 4.188 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.003746, allocations: 384 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.003753, allocations: 8.344 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.003775, allocations: 7.938 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.003995, allocations: 165.9 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.512e-05/0.00406, allocations: 73.25 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.004078, allocations: 12.92 kB / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.004178, allocations: 28.08 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.004199, allocations: 34.55 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.0042, allocations: 0 / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001159/0.004316, allocations: 45.62 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.004342, allocations: 55.34 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.004409, allocations: 134.4 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.004419, allocations: 25.7 kB / 0.8415 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.004451, allocations: 88.12 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.004468, allocations: 11.94 kB / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.004495, allocations: 9.719 kB / 0.8416 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.004573, allocations: 326.8 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.004585, allocations: 2.828 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.004595, allocations: 4 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.004624, allocations: 19.67 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.004626, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.723e-05/0.004673, allocations: 41.69 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.004685, allocations: 11.94 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.004689, allocations: 0 / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.004703, allocations: 3.938 kB / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.004764, allocations: 11.98 kB / 0.842 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.004767, allocations: 4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.004787, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.004794, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 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.333e-05/0.004847, allocations: 116.6 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.004862, allocations: 3.984 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.814e-05/0.00493, allocations: 49.69 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.004934, allocations: 7.922 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004936, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.004938, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.005023, allocations: 77.83 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005023, allocations: 4 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.00505, allocations: 11.94 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.005051, allocations: 384 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.005055, allocations: 4 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.005057, allocations: 4 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005058, allocations: 0 / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.005153, allocations: 194.2 kB / 0.8425 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.005159, allocations: 0 / 0.8425 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.005167, allocations: 4 kB / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.005203, allocations: 4 kB / 0.8425 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.005231, allocations: 7.984 kB / 0.8425 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.005236, allocations: 11.88 kB / 0.8425 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.276e-05/0.005258, allocations: 24.83 kB / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005258, allocations: 0 / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001211/0.005379, allocations: 8 kB / 0.8426 GB, free: 9.84 MB / 0.8073 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 9.236e-05/0.005472, allocations: 80.36 kB / 0.8426 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.801e-05/0.00553, allocations: 16.84 kB / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005532, allocations: 0 / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.005548, allocations: 8.859 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.005681, allocations: 22 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.005946, allocations: 134.2 kB / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.005983, allocations: 71.22 kB / 0.8429 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.006002, allocations: 0 / 0.8429 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.006053, allocations: 55.36 kB / 0.8429 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.006054, allocations: 0 / 0.8429 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of Templates: time 0.002271/0.008325, allocations: 0.7998 MB / 0.8437 GB, free: 8.605 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.436670004855841]