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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001242/0.001242, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001339/0.001339, allocations: 191.3 kB / 16.25 MB, free: 6.625 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.3 MB / 0.6644 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5152, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00167/0.5169, allocations: 0.6407 MB / 0.9499 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.5171, allocations: 36.75 kB / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-06/0.5171, allocations: 0 / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.5172, allocations: 0 / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-06/0.5172, allocations: 0 / 0.9499 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.5174, allocations: 14.97 kB / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.355e-05/0.5175, allocations: 5.391 kB / 0.9499 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.5175, allocations: 1.406 kB / 0.9499 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.207e-05/0.5175, allocations: 1.344 kB / 0.9499 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.5176, allocations: 5.625 kB / 0.9499 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.5176, allocations: 0 / 0.9499 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.5176, allocations: 19.39 kB / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.5177, allocations: 0 / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.5177, allocations: 9.234 kB / 0.95 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.056e-05/0.5178, allocations: 14.84 kB / 0.95 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.5178, allocations: 0 / 0.95 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5178, allocations: 0 / 0.95 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.5178, allocations: 0 / 0.95 GB, free: 8.602 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.0001983/0.518, allocations: 315.7 kB / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.518, allocations: 9.5 kB / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.078e-05/0.5181, allocations: 32.12 kB / 0.9503 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.01e-05/0.5181, allocations: 12.88 kB / 0.9503 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.385e-05/0.5181, allocations: 164.4 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.5181, allocations: 1.75 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.5182, allocations: 384 / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.612e-05/0.5182, allocations: 29.02 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.5182, allocations: 3.938 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.5183, allocations: 0 / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5183, allocations: 0 / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.5183, allocations: 2.75 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.122e-05/0.5184, allocations: 155 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.874e-05/0.5184, allocations: 19.89 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.5184, allocations: 6.234 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.5185, allocations: 9.25 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.5185, allocations: 31.94 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.5185, allocations: 0 / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.5186, allocations: 43.12 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.5186, allocations: 60.72 kB / 0.9508 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.228e-05/0.5186, allocations: 89.86 kB / 0.9509 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.5187, allocations: 25.7 kB / 0.9509 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.298e-06/0.5187, allocations: 80.14 kB / 0.951 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.5187, allocations: 5.281 kB / 0.951 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.5187, allocations: 11.09 kB / 0.951 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.5188, allocations: 312.2 kB / 0.9513 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.5188, allocations: 5.5 kB / 0.9513 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.5188, allocations: 0 / 0.9513 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.5188, allocations: 12.98 kB / 0.9514 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5188, allocations: 0 / 0.9514 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.34e-05/0.5189, allocations: 35.19 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5189, allocations: 5.5 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5189, allocations: 3.938 kB / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5189, allocations: 3.938 kB / 0.9514 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.519, allocations: 2.75 kB / 0.9514 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.519, allocations: 4.094 kB / 0.9514 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.519, allocations: 1.375 kB / 0.9514 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.519, allocations: 0 / 0.9514 GB, free: 6.961 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.63e-05/0.519, allocations: 107.2 kB / 0.9515 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.5191, allocations: 9.344 kB / 0.9515 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.5191, allocations: 42.27 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5191, allocations: 5.406 kB / 0.9516 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5192, allocations: 0 / 0.9516 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.5192, allocations: 0 / 0.9516 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.162e-05/0.5192, allocations: 147 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5192, allocations: 0 / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.5192, allocations: 2.75 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5192, allocations: 0 / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5192, allocations: 5.312 kB / 0.9517 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5193, allocations: 7.938 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5193, allocations: 0 / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.529e-05/0.5193, allocations: 67.94 kB / 0.9518 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.5193, allocations: 77.11 kB / 0.9519 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-06/0.5193, allocations: 5.312 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.5194, allocations: 0 / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-06/0.5194, allocations: 1.375 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.5194, allocations: 1.375 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.598e-06/0.5194, allocations: 79.22 kB / 0.9519 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5194, allocations: 4.031 kB / 0.9519 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001869/0.5196, allocations: 9.484 kB / 0.952 GB, free: 6.328 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.0002249/0.5198, allocations: 0.6024 MB / 0.9525 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.706e-05/0.5199, allocations: 8.125 kB / 0.9525 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5199, allocations: 4.094 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-06/0.5199, allocations: 2.75 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.52, allocations: 1.375 kB / 0.9526 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.5203, allocations: 97.61 kB / 0.9526 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.5203, allocations: 0.6856 MB / 0.9533 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.5204, allocations: 5.438 kB / 0.9533 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.5204, allocations: 8.812 kB / 0.9533 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.5204, allocations: 0 / 0.9533 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.5308, allocations: 0.915 MB / 0.9542 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.531, allocations: 202.9 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.091, allocations: 0 / 0.9544 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