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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004023/0.004023, allocations: 96.7 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.00111/0.00111, allocations: 194.8 kB / 16.67 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.95/2.95, allocations: 469.8 MB / 0.7426 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3416, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002651/0.3443, allocations: 1.434 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.3447, allocations: 95.67 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.3447, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.66e-05/0.3448, allocations: 3.984 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.3448, allocations: 7.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.3451, allocations: 19.92 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.706e-05/0.3452, allocations: 15.98 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.3453, allocations: 8 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.154e-05/0.3453, allocations: 11.92 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.3453, allocations: 11.98 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3454, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.314e-05/0.3455, allocations: 31.91 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.3455, allocations: 7.938 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.3455, allocations: 11.94 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3457, allocations: 31.89 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3457, allocations: 4 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3457, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3457, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 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.0004665/0.3462, allocations: 351.3 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3462, allocations: 12.03 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.3463, allocations: 34.73 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.3463, allocations: 4.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3464, allocations: 172.3 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3465, allocations: 4.312 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.3465, allocations: 4.375 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3467, allocations: 50.23 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3467, allocations: 3.938 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.3467, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3467, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3469, allocations: 39.95 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.3472, allocations: 249 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3474, allocations: 50.42 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.3475, allocations: 28.91 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.3475, allocations: 4 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3476, allocations: 34.56 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3476, allocations: 0 / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.3479, allocations: 89.62 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.348, allocations: 55.47 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.3481, allocations: 105.9 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3481, allocations: 25.7 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.3481, allocations: 84.12 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3482, allocations: 15.89 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.3482, allocations: 9.719 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3483, allocations: 314.8 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.3484, allocations: 19.97 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.3485, allocations: 23.98 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3487, allocations: 40.77 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3487, allocations: 3.938 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3489, allocations: 73.61 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3489, allocations: 8.094 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3489, allocations: 3.938 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.349, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.349, allocations: 11.98 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3491, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3491, allocations: 7.984 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3491, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 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 8.824e-05/0.3492, allocations: 117.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.3492, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.3495, allocations: 81.17 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3495, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3495, allocations: 4 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3495, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3497, allocations: 157.6 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3497, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.3498, allocations: 15.92 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3498, allocations: 0 / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3498, allocations: 4.031 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3498, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3498, allocations: 256 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3501, allocations: 167.5 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.3501, allocations: 88.98 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3501, allocations: 8 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.3502, allocations: 8.031 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.3502, allocations: 3.984 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3503, allocations: 0 / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.3503, allocations: 83.28 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3503, allocations: 0 / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002172/0.3505, allocations: 8 kB / 1.224 GB, free: 9.594 MB / 0.9825 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.000625/0.3512, allocations: 0.7129 MB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3514, allocations: 35.97 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3514, allocations: 0 / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.3515, allocations: 39.88 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3518, allocations: 4 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3523, allocations: 147 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3526, allocations: 0.6768 MB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.3526, allocations: 3.984 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.3527, allocations: 11.44 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3527, allocations: 0 / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7718/1.124, allocations: 1.434 MB / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.85, allocations: 1.719 kB / 1.227 GB, free: 6.512 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/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) Reference file matches