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.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.001415/0.001415, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001417/0.001417, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] 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.511/2.511, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> 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 0.001836/0.001836, allocations: 71.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7642, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002769/0.767, allocations: 1.465 MB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.7673, allocations: 99.92 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.7673, allocations: 2.172 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.468e-05/0.7674, allocations: 9.25 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.245e-05/0.7674, allocations: 6.312 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.7676, allocations: 18.47 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.925e-05/0.7677, allocations: 24.7 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.7678, allocations: 5.719 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.3e-05/0.7678, allocations: 9.859 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.7678, allocations: 9.641 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.7678, allocations: 1.906 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.7679, allocations: 24.33 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.7679, allocations: 5.516 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.768, allocations: 16.53 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.7681, allocations: 36.05 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7681, allocations: 0 / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7681, allocations: 4.719 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.7681, allocations: 3.938 kB / 1.273 GB, free: 6.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003184/0.7684, allocations: 346.8 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.7684, allocations: 10.36 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.636e-05/0.7685, allocations: 32.06 kB / 1.273 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.7685, allocations: 6.562 kB / 1.273 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.761e-05/0.7685, allocations: 167.8 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.7686, allocations: 1.219 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.7686, allocations: 1.938 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.7687, allocations: 50.72 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7687, allocations: 3.938 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.7687, allocations: 4.562 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.7687, allocations: 0.9062 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.7689, allocations: 48.06 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.7691, allocations: 247.2 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.7692, allocations: 44.42 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.7693, allocations: 24.38 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.7694, allocations: 10.77 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.7694, allocations: 32.31 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7694, allocations: 0.7188 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003256/0.7697, allocations: 88.41 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.7697, allocations: 52.22 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.7698, allocations: 109.7 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.7698, allocations: 29.7 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.7698, allocations: 86.89 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.7698, allocations: 5.5 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.7698, allocations: 12.59 kB / 1.274 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.7699, allocations: 317.8 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.77, allocations: 15.31 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.77, allocations: 25.36 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.7702, allocations: 44.73 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7702, allocations: 3.938 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.7704, allocations: 70.02 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.7704, allocations: 5.969 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.7704, allocations: 0 / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.7704, allocations: 4.906 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.7705, allocations: 13.88 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.7705, allocations: 0 / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.7705, allocations: 12.27 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.7705, allocations: 0.9062 kB / 1.275 GB, free: 4.805 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 (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 3.847e-05/0.7706, allocations: 112.5 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.7706, allocations: 1.75 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.7708, allocations: 81.89 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7708, allocations: 0.8125 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.7708, allocations: 0 / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7708, allocations: 3.812 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.7709, allocations: 160.2 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7709, allocations: 0.9844 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.7709, allocations: 9 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7709, allocations: 0.7812 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.7709, allocations: 0 / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7709, allocations: 4.938 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7709, allocations: 0 / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.7711, allocations: 174.6 kB / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.7711, allocations: 85.12 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.7712, allocations: 4.594 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.7712, allocations: 9.234 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.7712, allocations: 2.406 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.7712, allocations: 5 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.7713, allocations: 87.7 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7713, allocations: 0 / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002213/0.7715, allocations: 7.344 kB / 1.276 GB, free: 4.098 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 (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.0003483/0.7718, allocations: 0.7053 MB / 1.276 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.772, allocations: 47.8 kB / 1.276 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.772, allocations: 0 / 1.276 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.7721, allocations: 17.08 kB / 1.276 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.7723, allocations: 10.86 kB / 1.276 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.7727, allocations: 143.6 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.7727, allocations: 0.678 MB / 1.277 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.7728, allocations: 0.75 kB / 1.277 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.7728, allocations: 18.05 kB / 1.277 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.7728, allocations: 0 / 1.277 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.7947, allocations: 1.412 MB / 1.279 GB, free: 18.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.759, allocations: 8.062 kB / 1.279 GB, free: 18.18 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/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: 13.119898936005484]