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.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.00133/0.00133, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001592/0.001592, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.922/2.922, allocations: 476 MB / 0.7699 GB, free: 4.797 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002349/0.002349, allocations: 66.36 kB / 1.117 GB, free: 41.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.356, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003309/0.3593, allocations: 1.507 MB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000358/0.3597, allocations: 99.73 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.3597, allocations: 4 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.182e-05/0.3598, allocations: 11.92 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.3599, allocations: 7.875 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.3601, allocations: 19.97 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.3602, allocations: 39.92 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3603, allocations: 15.97 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.3603, allocations: 11.94 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.3604, allocations: 27.84 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3604, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.409e-05/0.3605, allocations: 19.98 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.3605, allocations: 15.92 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.3606, allocations: 15.88 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3607, allocations: 59.8 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3607, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3607, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3607, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 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.0005593/0.3613, allocations: 310 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3613, allocations: 11.97 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.3614, allocations: 4.938 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3615, allocations: 124.5 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3615, allocations: 384 / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3615, allocations: 4.375 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.3618, allocations: 78.14 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3618, allocations: 192 / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3618, allocations: 7.938 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.3618, allocations: 4 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.3621, allocations: 71.92 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3625, allocations: 224.6 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3627, allocations: 66.47 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3629, allocations: 44.84 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.3631, allocations: 35.98 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3631, allocations: 34.55 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.3631, allocations: 0 / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005762/0.3637, allocations: 145.5 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3638, allocations: 59.41 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3639, allocations: 125.8 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3639, allocations: 25.7 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.364, allocations: 92.14 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.364, allocations: 3.953 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.364, allocations: 13.72 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3642, allocations: 322.8 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3643, allocations: 39.95 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3645, allocations: 40.14 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3648, allocations: 80.78 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3648, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003487/0.3651, allocations: 117.5 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3651, allocations: 4 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3651, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3651, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3653, allocations: 15.98 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3653, allocations: 3.938 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.3654, allocations: 23.84 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.3654, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 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 8.806e-05/0.3654, allocations: 113.8 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3655, allocations: 15.89 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.3659, allocations: 121.6 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3659, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3659, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3659, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.366, allocations: 129.2 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.366, allocations: 0 / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.927e-05/0.3661, allocations: 27.91 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3661, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3662, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3662, allocations: 3.938 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3662, allocations: 0 / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.3666, allocations: 207.4 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.3666, allocations: 7.891 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3666, allocations: 8 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3667, allocations: 7.984 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3668, allocations: 11.98 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3668, allocations: 0 / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.895e-05/0.3668, allocations: 96.64 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3668, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002386/0.3671, allocations: 16 kB / 1.288 GB, free: 7 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.0001424/0.3672, allocations: 91.25 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.3677, allocations: 87.84 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.3677, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.3679, allocations: 39.97 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.3684, allocations: 7.984 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.3689, allocations: 157.4 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.369, allocations: 75.75 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.369, allocations: 0 / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.3691, allocations: 11.44 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.3691, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of Templates: time 0.005031/0.3741, allocations: 0.8764 MB / 1.289 GB, free: 5.621 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.284248376265168]