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.002006/0.002006, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002574/0.002574, allocations: 170 kB / 22.46 MB, free: 5.359 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.184 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 3.032/3.032, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.613e-06/1.613e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.007e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003697/0.003727, allocations: 1.504 MB / 1.002 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.004126, allocations: 115.5 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.004165, allocations: 0 / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.287e-05/0.004228, allocations: 7.922 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.0043, allocations: 7.938 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.004542, allocations: 23.91 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.004654, allocations: 39.86 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004771, allocations: 11.97 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/0.004848, allocations: 23.92 kB / 1.002 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.004907, allocations: 15.98 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.00493, allocations: 8 kB / 1.002 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.005016, allocations: 19.98 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.005069, allocations: 11.92 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.005105, allocations: 12 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.005293, allocations: 63.78 kB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.005296, allocations: 0 / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005297, allocations: 0 / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.005308, allocations: 0 / 1.002 GB, free: 5.398 MB / 0.9512 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.0007088/0.006016, allocations: 306.1 kB / 1.002 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.006058, allocations: 12.03 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.006104, allocations: 8.891 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.00627, allocations: 117.7 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006282, allocations: 4.375 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.006304, allocations: 4.375 kB / 1.002 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.006661, allocations: 74.16 kB / 1.002 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006671, allocations: 192 / 1.002 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.006685, allocations: 4.375 kB / 1.002 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.00669, allocations: 4.312 kB / 1.002 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.00714, allocations: 79.86 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.007611, allocations: 232.5 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.007927, allocations: 70.41 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.008174, allocations: 40.91 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.008452, allocations: 43.95 kB / 1.003 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.008486, allocations: 30.56 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.008487, allocations: 4 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0008501/0.009337, allocations: 149.5 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.009392, allocations: 55.41 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.009565, allocations: 131.4 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.009589, allocations: 25.7 kB / 1.003 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.009667, allocations: 92.14 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.009691, allocations: 3.953 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.009756, allocations: 17.7 kB / 1.003 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.009945, allocations: 314.8 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.01017, allocations: 43.95 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.01039, allocations: 31.97 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.01082, allocations: 80.78 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01083, allocations: 0 / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000506/0.01133, allocations: 113.6 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.01135, allocations: 7.938 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.01137, allocations: 8 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.01139, allocations: 0 / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.01157, allocations: 19.92 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01158, allocations: 3.984 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01169, allocations: 11.98 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.0117, allocations: 4 kB / 1.004 GB, free: 3.117 MB / 0.9512 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 0.0001464/0.01185, allocations: 110.4 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.0119, allocations: 11.95 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.01245, allocations: 121.5 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01245, allocations: 0 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01245, allocations: 0 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01246, allocations: 4 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.0127, allocations: 121.3 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.0127, allocations: 0 / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.01283, allocations: 19.97 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01284, allocations: 3.938 kB / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01285, allocations: 0 / 1.004 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01285, allocations: 7.875 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01285, allocations: 0 / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.01343, allocations: 211.4 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.01344, allocations: 11.89 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01346, allocations: 0 / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.01363, allocations: 12.34 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.0137, allocations: 11.98 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.0137, allocations: 0 / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001062/0.01381, allocations: 95.27 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01381, allocations: 0 / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000413/0.01422, allocations: 15.94 kB / 1.005 GB, free: 2.309 MB / 0.9512 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.0001912/0.01441, allocations: 97.38 kB / 1.005 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005263/0.01494, allocations: 91.83 kB / 1.005 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01494, allocations: 0 / 1.005 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.01518, allocations: 39.95 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.01559, allocations: 12 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.01605, allocations: 144.8 kB / 1.005 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.01615, allocations: 71.33 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.01619, allocations: 8 kB / 1.005 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01623, allocations: 8.5 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of SimCode: time 5.52e-07/0.01623, allocations: 0 / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of Templates: time 0.004799/0.02103, allocations: 0.8277 MB / 1.006 GB, free: 0.9727 MB / 0.9512 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=800 -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/jenkins/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.058273777365685]