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.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.001736/0.001736, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001965/0.001965, allocations: 186 kB / 20.78 MB, free: 1.547 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.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9369, allocations: 168.7 MB / 1.272 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002945/0.9398, allocations: 1.521 MB / 1.273 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.9402, allocations: 102.9 kB / 1.274 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.9402, allocations: 0.9375 kB / 1.274 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.9403, allocations: 4.969 kB / 1.274 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.9403, allocations: 7.344 kB / 1.274 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.9406, allocations: 23.42 kB / 1.274 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.941e-05/0.9407, allocations: 40.06 kB / 1.274 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.9408, allocations: 17.23 kB / 1.274 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.9408, allocations: 17.66 kB / 1.274 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.9409, allocations: 23.55 kB / 1.274 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.9409, allocations: 4.375 kB / 1.274 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.941, allocations: 18.3 kB / 1.274 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.941, allocations: 10.48 kB / 1.274 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.9411, allocations: 21.84 kB / 1.274 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.9412, allocations: 68.08 kB / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9412, allocations: 0.9375 kB / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9412, allocations: 0 / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.9412, allocations: 0 / 1.274 GB, free: 6.898 MB / 0.9981 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.0005309/0.9418, allocations: 376.6 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.9418, allocations: 11.42 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.9419, allocations: 7.609 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.942, allocations: 173.8 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.942, allocations: 1.062 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.942, allocations: 2.094 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.9423, allocations: 77.95 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9423, allocations: 0.9688 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9423, allocations: 3.938 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.9423, allocations: 4.703 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.9426, allocations: 81.59 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.9429, allocations: 287 kB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.9431, allocations: 67.23 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.9433, allocations: 47.67 kB / 1.275 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.9435, allocations: 107.8 kB / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.9435, allocations: 35.47 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.9435, allocations: 3.938 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005812/0.9441, allocations: 149.8 kB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.9442, allocations: 51.41 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.9443, allocations: 126.8 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.9443, allocations: 25.7 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.9443, allocations: 95.12 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.9443, allocations: 9.5 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.9444, allocations: 17.64 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.9444, allocations: 317.2 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.9446, allocations: 38.34 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.9447, allocations: 38.52 kB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.945, allocations: 80.41 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.945, allocations: 7.938 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003244/0.9453, allocations: 117.2 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.9453, allocations: 5.219 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.9453, allocations: 0 / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9454, allocations: 0.8438 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.9455, allocations: 17.12 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.9455, allocations: 0 / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.9456, allocations: 15.48 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9456, allocations: 0.9375 kB / 1.276 GB, free: 4.98 MB / 0.9981 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.541e-05/0.9456, allocations: 119.5 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.9457, allocations: 7.203 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.946, allocations: 123.1 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.946, allocations: 0.8438 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.946, allocations: 0 / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.946, allocations: 0.875 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.9462, allocations: 184 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9462, allocations: 0 / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.9463, allocations: 19.53 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9463, allocations: 1.672 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9463, allocations: 3.938 kB / 1.277 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9463, allocations: 1 kB / 1.277 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9463, allocations: 9.391 kB / 1.277 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.9466, allocations: 216.5 kB / 1.277 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.9466, allocations: 78.92 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.9467, allocations: 1.594 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.9468, allocations: 14.97 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.9468, allocations: 4.188 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.9468, allocations: 1.344 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.9469, allocations: 102.1 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9469, allocations: 3.938 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002254/0.9471, allocations: 9.312 kB / 1.277 GB, free: 4.234 MB / 0.9981 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.0001531/0.9473, allocations: 105.2 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.9476, allocations: 80.97 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9476, allocations: 0 / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.9478, allocations: 44 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.948, allocations: 15.19 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.9484, allocations: 165.2 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.9486, allocations: 0.6855 MB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.9486, allocations: 6.453 kB / 1.278 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.9486, allocations: 9.219 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.9486, allocations: 0.9375 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.003872/0.9525, allocations: 0.7933 MB / 1.279 GB, free: 3.188 MB / 0.9981 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: 8.91441374272108]