Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_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.004325/0.004325, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001252/0.001252, allocations: 206.5 kB / 16.68 MB, free: 5.973 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.356/2.356, allocations: 437.1 MB / 0.7106 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 68.08 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2506, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001527/0.2522, allocations: 0.5805 MB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.2525, allocations: 39.88 kB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.2525, allocations: 4 kB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.2526, allocations: 0 / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.2526, allocations: 0 / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.2529, allocations: 11.98 kB / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.346e-05/0.253, allocations: 7.984 kB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.253, allocations: 4 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.2531, allocations: 0 / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.2531, allocations: 3.984 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2531, allocations: 0 / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2533, allocations: 19.92 kB / 1.167 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2533, allocations: 4 kB / 1.167 GB, free: 6.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.2533, allocations: 3.938 kB / 1.167 GB, free: 6.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2534, allocations: 15.98 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2534, allocations: 0 / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2534, allocations: 0 / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2534, allocations: 0 / 1.167 GB, free: 6.535 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004024/0.2539, allocations: 315.8 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.2539, allocations: 12.03 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.254, allocations: 30.75 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.254, allocations: 0.9375 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2541, allocations: 164.4 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2541, allocations: 384 / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2541, allocations: 384 / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.493e-05/0.2542, allocations: 34.25 kB / 1.167 GB, free: 5.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2543, allocations: 7.875 kB / 1.167 GB, free: 5.879 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2543, allocations: 4 kB / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2543, allocations: 0 / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.2543, allocations: 4 kB / 1.167 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.2545, allocations: 149.7 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.106e-05/0.2545, allocations: 14.58 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.2545, allocations: 8.953 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.2546, allocations: 3.984 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.2546, allocations: 34.56 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2546, allocations: 3.938 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.2548, allocations: 45.53 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2548, allocations: 55.53 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.046e-05/0.2548, allocations: 89.86 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.2549, allocations: 25.7 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.2549, allocations: 84.42 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2549, allocations: 0 / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.255, allocations: 21.7 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.2551, allocations: 310.8 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.2551, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.2551, allocations: 8 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.2552, allocations: 8.797 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2552, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.458e-05/0.2552, allocations: 33.7 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2552, allocations: 4 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.2552, allocations: 3.938 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2553, allocations: 3.984 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.2553, allocations: 4 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2553, allocations: 0 / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.2554, allocations: 4.094 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2554, allocations: 0 / 1.168 GB, free: 4.84 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 (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 7.397e-05/0.2554, allocations: 113.8 kB / 1.168 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.2555, allocations: 0 / 1.168 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.2556, allocations: 44.69 kB / 1.168 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2556, allocations: 4 kB / 1.168 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2556, allocations: 4.031 kB / 1.168 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2556, allocations: 4 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2557, allocations: 149.7 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2557, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.2557, allocations: 7.984 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2558, allocations: 0 / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2558, allocations: 3.938 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2558, allocations: 0 / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2558, allocations: 0 / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.33e-05/0.2558, allocations: 65.08 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.2559, allocations: 81.09 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.2559, allocations: 7.938 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.2559, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.256, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.256, allocations: 4 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.256, allocations: 75.28 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.256, allocations: 3.938 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001783/0.2562, allocations: 15.91 kB / 1.169 GB, free: 4.164 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 (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.0003968/0.2566, allocations: 0.5968 MB / 1.169 GB, free: 3.535 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.2567, allocations: 7.938 kB / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2567, allocations: 0 / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-06/0.2567, allocations: 8.094 kB / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.2568, allocations: 0 / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.2571, allocations: 106.6 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.2573, allocations: 0.669 MB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.2574, allocations: 4 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.2574, allocations: 11.5 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of SimCode: time 4.11e-07/0.2574, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.662/5.919, allocations: 1.022 MB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/18.81, allocations: 14.53 kB / 1.171 GB, free: 1.723 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches