Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.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.0008411/0.0008411, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008726/0.0008726, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9411/0.9411, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.325e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001891/0.001914, allocations: 1.452 MB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002747/0.002189, allocations: 91.69 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.002219, allocations: 0 / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.528e-05/0.002285, allocations: 8 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.922e-05/0.002324, allocations: 3.938 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.002626, allocations: 27.95 kB / 0.952 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.002698, allocations: 19.92 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.002802, allocations: 8 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.002849, allocations: 15.92 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.002887, allocations: 0 / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.002902, allocations: 4 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.003002, allocations: 23.91 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.003047, allocations: 8 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.003068, allocations: 11.92 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.003207, allocations: 43.88 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.00321, allocations: 0 / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.163e-06/0.003211, allocations: 0 / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003215, allocations: 0 / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003852/0.0036, allocations: 270.2 kB / 0.9524 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.003641, allocations: 15.97 kB / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.003672, allocations: 30.75 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.003693, allocations: 0.9375 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.003782, allocations: 113.8 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.003791, allocations: 4.375 kB / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.003801, allocations: 8.375 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.003928, allocations: 50.23 kB / 0.9526 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.003934, allocations: 4.125 kB / 0.9526 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003943, allocations: 4.359 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.003948, allocations: 4.125 kB / 0.9526 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.004036, allocations: 35.97 kB / 0.9527 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.00429, allocations: 220 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.004446, allocations: 42.55 kB / 0.9529 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.004492, allocations: 24.91 kB / 0.953 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.004522, allocations: 11.92 kB / 0.953 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.004543, allocations: 42.44 kB / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.004543, allocations: 0 / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002138/0.004757, allocations: 89.73 kB / 0.9531 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.004783, allocations: 51.41 kB / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.004841, allocations: 105.8 kB / 0.9532 GB, free: 480 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.004851, allocations: 25.7 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.004887, allocations: 88.14 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.004904, allocations: 7.938 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.004929, allocations: 13.72 kB / 0.9534 GB, free: 328 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.005002, allocations: 314.8 kB / 0.9537 GB, free: 4 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.005055, allocations: 16.05 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.005093, allocations: 27.88 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.00517, allocations: 40.83 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005172, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.005274, allocations: 73.55 kB / 0.9538 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.005287, allocations: 8 kB / 0.9538 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005292, allocations: 0 / 0.9538 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.005303, allocations: 4.094 kB / 0.9538 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.005364, allocations: 7.984 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.005369, allocations: 4 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.005392, allocations: 7.984 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.005398, allocations: 0 / 0.9539 GB, free: 15.81 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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 6.087e-05/0.005458, allocations: 115.8 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.005472, allocations: 7.938 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.005614, allocations: 77.28 kB / 0.954 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005615, allocations: 0 / 0.954 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.005619, allocations: 0 / 0.954 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.005622, allocations: 3.938 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.831e-05/0.00572, allocations: 128.8 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005721, allocations: 256 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.005746, allocations: 15.98 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.005749, allocations: 3.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.005755, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005756, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005757, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.00588, allocations: 175.4 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.005888, allocations: 15.88 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.005897, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.005932, allocations: 4 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.005962, allocations: 3.984 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.005965, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.005995, allocations: 87.28 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005995, allocations: 0 / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001566/0.006151, allocations: 12.03 kB / 0.9545 GB, free: 15.09 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.0003301/0.006481, allocations: 0.7084 MB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.006609, allocations: 39.95 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00661, allocations: 0 / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.006652, allocations: 24.08 kB / 0.9552 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.006853, allocations: 4 kB / 0.9552 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.007164, allocations: 142.4 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.007206, allocations: 63.34 kB / 0.9554 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.816e-05/0.007224, allocations: 3.938 kB / 0.9554 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.007251, allocations: 16.5 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.007252, allocations: 0 / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.02283, allocations: 2.1 MB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.832, allocations: 1.719 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.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: 11.102398405782878]