Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006805/0.006805, allocations: 97.02 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 198.2 kB / 16.68 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3194, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002832/0.3223, allocations: 1.429 MB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003318/0.3226, allocations: 100.6 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.3227, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.682e-05/0.3228, allocations: 3.938 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.3228, allocations: 3.938 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.3231, allocations: 27.97 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.3232, allocations: 23.86 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.3233, allocations: 12 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.3233, allocations: 7.984 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3234, allocations: 15.92 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3235, allocations: 0 / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.3236, allocations: 19.98 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.3236, allocations: 7.984 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.3236, allocations: 11.94 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3238, allocations: 40.03 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3238, allocations: 4 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3238, allocations: 4 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3238, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 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.0004683/0.3243, allocations: 343.3 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3243, allocations: 12.03 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.3244, allocations: 34.75 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.3244, allocations: 0.9375 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3245, allocations: 164.4 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3245, allocations: 4.359 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3246, allocations: 384 / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3248, allocations: 62.17 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3248, allocations: 3.938 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3248, allocations: 0 / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3248, allocations: 0 / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.325, allocations: 35.91 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.3253, allocations: 256.9 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3255, allocations: 50.48 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.3256, allocations: 20.91 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3256, allocations: 4 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3256, allocations: 38.5 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3256, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.326, allocations: 89.64 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3261, allocations: 51.41 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.3262, allocations: 105.8 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3262, allocations: 25.7 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.3262, allocations: 80.14 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3262, allocations: 11.89 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3263, allocations: 25.77 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3264, allocations: 310.8 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.3265, allocations: 19.98 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.3266, allocations: 19.97 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3267, allocations: 44.83 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3267, allocations: 7.938 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3269, allocations: 69.91 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.327, allocations: 4 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.327, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.327, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.3271, allocations: 15.98 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3271, allocations: 0 / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.3271, allocations: 15.97 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3272, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 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 7.026e-05/0.3272, allocations: 113.8 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3273, allocations: 7.984 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.3275, allocations: 77.12 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3275, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3275, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3275, allocations: 11.97 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3277, allocations: 161.6 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3277, allocations: 0 / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3278, allocations: 11.98 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3278, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3278, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3278, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3278, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3281, allocations: 175.4 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.3281, allocations: 81.06 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3281, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.3282, allocations: 7.984 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3282, allocations: 4 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3283, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.3283, allocations: 87.27 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3283, allocations: 4.031 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002305/0.3285, allocations: 8 kB / 1.17 GB, free: 2.652 MB / 0.92 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.0005312/0.3291, allocations: 0.6968 MB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.3293, allocations: 47.92 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3293, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.3294, allocations: 19.98 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.3297, allocations: 14.58 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3301, allocations: 139 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3304, allocations: 0.6847 MB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.3304, allocations: 4.188 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3305, allocations: 7.438 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of SimCode: time 1.843e-06/0.3305, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.3493, allocations: 1.439 MB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.932, allocations: 6.406 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches