Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.0008356/0.0008356, 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.001354/0.001354, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9331/0.9331, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.804/1.804, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.545e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001693/0.001718, allocations: 0.5878 MB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.001914, allocations: 31.89 kB / 0.9512 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.27e-05/0.001927, allocations: 4 kB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.001942, allocations: 0 / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.001949, allocations: 0 / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.002244, allocations: 11.92 kB / 0.9512 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.192e-05/0.002286, allocations: 4 kB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.002326, allocations: 3.984 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.002353, allocations: 0 / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.468e-05/0.002377, allocations: 0 / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.002388, allocations: 4 kB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.002472, allocations: 27.89 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.002481, allocations: 0 / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.002496, allocations: 4 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.21e-05/0.002588, allocations: 15.92 kB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00259, allocations: 0 / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002591, allocations: 4 kB / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.002595, allocations: 3.938 kB / 0.9512 GB, free: 2.719 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000243/0.002838, allocations: 238.5 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.002876, allocations: 8.031 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.002904, allocations: 30.75 kB / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.002927, allocations: 8.891 kB / 0.9515 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.666e-05/0.002983, allocations: 105.8 kB / 0.9516 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.002993, allocations: 384 / 0.9516 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.003001, allocations: 4.312 kB / 0.9516 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.00308, allocations: 34.25 kB / 0.9516 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003087, allocations: 192 / 0.9516 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.003094, allocations: 384 / 0.9516 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.003099, allocations: 4.125 kB / 0.9517 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.003116, allocations: 0 / 0.9517 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.003227, allocations: 120.8 kB / 0.9518 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.77e-05/0.003265, allocations: 18.58 kB / 0.9518 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.00328, allocations: 12.89 kB / 0.9518 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.003313, allocations: 0 / 0.9518 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.003331, allocations: 30.56 kB / 0.9518 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.003332, allocations: 4 kB / 0.9518 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.000111/0.003443, allocations: 37.69 kB / 0.9519 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.003474, allocations: 55.34 kB / 0.9519 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.344e-05/0.003497, allocations: 89.86 kB / 0.952 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.003505, allocations: 25.7 kB / 0.952 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.003523, allocations: 84.2 kB / 0.9521 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.003548, allocations: 8 kB / 0.9521 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.003569, allocations: 9.719 kB / 0.9521 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.003641, allocations: 310.8 kB / 0.9524 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.003654, allocations: 7.984 kB / 0.9524 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-06/0.003661, allocations: 7.938 kB / 0.9524 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.003683, allocations: 8.859 kB / 0.9524 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003685, allocations: 0 / 0.9524 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.559e-05/0.003721, allocations: 29.7 kB / 0.9525 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.003733, allocations: 8 kB / 0.9525 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.003739, allocations: 8.094 kB / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.003749, allocations: 0 / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.003805, allocations: 0 / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.003812, allocations: 7.922 kB / 0.9525 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-06/0.00382, allocations: 4 kB / 0.9525 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.003831, allocations: 0 / 0.9525 GB, free: 1.227 MB / 0.9011 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 5.128e-05/0.003882, allocations: 113.7 kB / 0.9526 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.003886, allocations: 0 / 0.9526 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.003964, allocations: 48.69 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.003966, allocations: 3.938 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.003971, allocations: 3.938 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.003973, allocations: 0 / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.852e-05/0.004032, allocations: 116.8 kB / 0.9528 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.004034, allocations: 0 / 0.9528 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.004045, allocations: 0 / 0.9528 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.004049, allocations: 4 kB / 0.9528 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.004054, allocations: 0 / 0.9528 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.004056, allocations: 3.984 kB / 0.9528 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.004058, allocations: 7.969 kB / 0.9528 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.588e-05/0.004104, allocations: 61.08 kB / 0.9529 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.004108, allocations: 0 / 0.9529 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-06/0.004115, allocations: 0 / 0.9529 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-06/0.00412, allocations: 0 / 0.9529 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.004137, allocations: 15.91 kB / 0.9529 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.004141, allocations: 0 / 0.9529 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.965e-05/0.004161, allocations: 75.28 kB / 0.9529 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.004161, allocations: 3.938 kB / 0.9529 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001345/0.004295, allocations: 4 kB / 0.9529 GB, free: 0.6992 MB / 0.9011 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.0002844/0.00458, allocations: 0.5969 MB / 0.9535 GB, free: 72 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.519e-05/0.004645, allocations: 7.938 kB / 0.9535 GB, free: 64 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004646, allocations: 0 / 0.9535 GB, free: 64 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.004651, allocations: 4 kB / 0.9535 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.004756, allocations: 8.312 kB / 0.9535 GB, free: 56 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.005027, allocations: 114.6 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.005062, allocations: 55.36 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.005084, allocations: 4.156 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.005105, allocations: 8.5 kB / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of SimCode: time 8.92e-07/0.005106, allocations: 0 / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.02225, allocations: 1.674 MB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.665, allocations: 2.234 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 10.90947166737169]