Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.001303/0.001303, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001442/0.001442, allocations: 196 kB / 16.14 MB, free: 6.648 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5427, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001552/0.5443, allocations: 0.6344 MB / 0.9497 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.5445, allocations: 40.12 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.06e-05/0.5445, allocations: 1.375 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.5446, allocations: 0 / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.5446, allocations: 0 / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.5448, allocations: 13.48 kB / 0.9497 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.271e-05/0.5449, allocations: 1.375 kB / 0.9497 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.5449, allocations: 1.375 kB / 0.9497 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.5449, allocations: 5.359 kB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.545, allocations: 5.312 kB / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.545, allocations: 0 / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.5451, allocations: 20.23 kB / 0.9498 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.5451, allocations: 0 / 0.9498 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.5451, allocations: 0 / 0.9498 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.171e-05/0.5452, allocations: 22.78 kB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5452, allocations: 0 / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.5452, allocations: 1.375 kB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5452, allocations: 0 / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002178/0.5455, allocations: 320.5 kB / 0.9501 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5455, allocations: 9.625 kB / 0.9501 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.445e-05/0.5455, allocations: 30.75 kB / 0.9501 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.5456, allocations: 8.938 kB / 0.9501 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.417e-05/0.5456, allocations: 161.8 kB / 0.9503 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.5456, allocations: 4.359 kB / 0.9503 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.5456, allocations: 1.75 kB / 0.9503 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.917e-05/0.5457, allocations: 27.64 kB / 0.9503 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.5457, allocations: 7.922 kB / 0.9503 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.5457, allocations: 1.375 kB / 0.9503 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.5457, allocations: 0 / 0.9503 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.5458, allocations: 5.312 kB / 0.9503 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.208e-05/0.5459, allocations: 147.1 kB / 0.9505 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.935e-05/0.5459, allocations: 23.94 kB / 0.9505 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.5459, allocations: 6.234 kB / 0.9505 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.5459, allocations: 2.75 kB / 0.9505 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.546, allocations: 34.5 kB / 0.9505 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.546, allocations: 1.375 kB / 0.9505 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001057/0.5461, allocations: 43.05 kB / 0.9506 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.5461, allocations: 51.41 kB / 0.9506 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.314e-05/0.5461, allocations: 89.86 kB / 0.9507 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.5461, allocations: 25.7 kB / 0.9507 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.012e-05/0.5461, allocations: 89.28 kB / 0.9508 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5462, allocations: 3.906 kB / 0.9508 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.5462, allocations: 12.22 kB / 0.9508 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.5462, allocations: 312.2 kB / 0.9511 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.5463, allocations: 4.125 kB / 0.9511 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.5463, allocations: 1.094 kB / 0.9511 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.5463, allocations: 8.797 kB / 0.9512 GB, free: 7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5463, allocations: 0 / 0.9512 GB, free: 7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.747e-05/0.5463, allocations: 43.19 kB / 0.9512 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5464, allocations: 5.688 kB / 0.9512 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5464, allocations: 3.938 kB / 0.9512 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.5464, allocations: 0 / 0.9512 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.5464, allocations: 2.188 kB / 0.9512 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5464, allocations: 5.281 kB / 0.9512 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.5465, allocations: 0 / 0.9512 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.5465, allocations: 1.062 kB / 0.9512 GB, free: 6.949 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.561e-05/0.5465, allocations: 106.9 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.5465, allocations: 1.156 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.5466, allocations: 55.09 kB / 0.9514 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5466, allocations: 4 kB / 0.9514 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5466, allocations: 3.938 kB / 0.9514 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.5466, allocations: 1.062 kB / 0.9514 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.316e-05/0.5467, allocations: 147.1 kB / 0.9515 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5467, allocations: 0 / 0.9515 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.5467, allocations: 1.969 kB / 0.9515 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5467, allocations: 0 / 0.9515 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.5467, allocations: 5.125 kB / 0.9515 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5467, allocations: 0 / 0.9515 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5467, allocations: 1.125 kB / 0.9515 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.874e-05/0.5468, allocations: 62.78 kB / 0.9516 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.5468, allocations: 82.2 kB / 0.9517 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.5468, allocations: 5 kB / 0.9517 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.5468, allocations: 0 / 0.9517 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.5469, allocations: 5.031 kB / 0.9517 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.5469, allocations: 1.25 kB / 0.9517 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.087e-05/0.5469, allocations: 75.28 kB / 0.9517 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5469, allocations: 4.031 kB / 0.9518 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001842/0.5471, allocations: 4.656 kB / 0.9518 GB, free: 6.32 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.0002182/0.5473, allocations: 0.5991 MB / 0.9523 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.408e-05/0.5474, allocations: 4.5 kB / 0.9523 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5474, allocations: 4.094 kB / 0.9524 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-06/0.5474, allocations: 10.77 kB / 0.9524 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.5475, allocations: 3.016 kB / 0.9524 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.5477, allocations: 98.45 kB / 0.9525 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.41e-05/0.5478, allocations: 0.6712 MB / 0.9531 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.5479, allocations: 9.422 kB / 0.9531 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.5479, allocations: 8.688 kB / 0.9531 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5479, allocations: 0 / 0.9531 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009155/0.557, allocations: 0.8946 MB / 0.954 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001208/0.5572, allocations: 204.4 kB / 0.9542 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.232, allocations: 0 / 0.9542 GB, free: 4.137 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches