Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001408/0.001408, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001785/0.001785, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_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.002206/0.002206, allocations: 63.62 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3786, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003214/0.3818, allocations: 1.502 MB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003907/0.3822, allocations: 99.73 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.3822, allocations: 0 / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.564e-05/0.3823, allocations: 3.938 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.3823, allocations: 11.92 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3825, allocations: 19.92 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3826, allocations: 47.83 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3828, allocations: 8 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.3828, allocations: 19.98 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.3829, allocations: 23.84 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3829, allocations: 4 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.383, allocations: 19.98 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.383, allocations: 8 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.3831, allocations: 19.86 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.3832, allocations: 63.67 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3832, allocations: 0 / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3832, allocations: 0 / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3832, allocations: 0 / 1.327 GB, free: 40 kB / 1.014 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.0006746/0.3839, allocations: 310.2 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.384, allocations: 12.03 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.384, allocations: 0.9375 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.3841, allocations: 128.1 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3842, allocations: 384 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.3842, allocations: 384 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.3844, allocations: 78.2 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3845, allocations: 192 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3845, allocations: 11.92 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3845, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.3848, allocations: 79.86 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.3852, allocations: 220.6 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3854, allocations: 62.53 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.3855, allocations: 52.84 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.3858, allocations: 31.98 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3858, allocations: 34.5 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3858, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005829/0.3864, allocations: 149.5 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.3864, allocations: 59.34 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3866, allocations: 121.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3866, allocations: 29.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.3867, allocations: 96.11 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.3867, allocations: 11.91 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3867, allocations: 9.719 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3869, allocations: 322.8 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.387, allocations: 35.97 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3872, allocations: 39.95 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.3874, allocations: 80.72 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3874, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003456/0.3878, allocations: 121.5 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3878, allocations: 4 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3878, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.3878, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.388, allocations: 15.98 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.388, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.3881, allocations: 23.92 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3881, allocations: 3.984 kB / 1.329 GB, free: 13.76 MB / 1.029 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 9.867e-05/0.3882, allocations: 110.4 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3882, allocations: 11.89 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.3886, allocations: 121.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3886, allocations: 3.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3886, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3887, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3888, allocations: 121.3 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3888, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3889, allocations: 15.92 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3889, allocations: 4.359 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.389, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.389, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.389, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.3894, allocations: 211.4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.3894, allocations: 15.88 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3894, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3895, allocations: 11.98 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.3896, allocations: 7.984 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3896, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.851e-05/0.3897, allocations: 97.39 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3897, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002389/0.3899, allocations: 16 kB / 1.33 GB, free: 12.94 MB / 1.029 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.0001718/0.3901, allocations: 95.25 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3904, allocations: 87.78 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3905, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3906, allocations: 39.97 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3909, allocations: 5.562 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.3913, allocations: 157.3 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.098e-05/0.3914, allocations: 67.34 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.3914, allocations: 7.984 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.3914, allocations: 11.44 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3914, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of Templates: time 0.003923/0.3954, allocations: 0.864 MB / 1.331 GB, free: 11.57 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.067032031714916]