Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_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.008325/0.008325, allocations: 101.1 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.001916/0.001917, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.703/2.703, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 64.09 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3072, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002763/0.31, allocations: 1.431 MB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.3104, allocations: 96.58 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.3105, allocations: 8 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.925e-05/0.3105, allocations: 3.938 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.3106, allocations: 7.922 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3109, allocations: 15.98 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.311, allocations: 27.86 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3111, allocations: 4 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.3112, allocations: 8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.3112, allocations: 7.922 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.3112, allocations: 4 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3113, allocations: 23.98 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.3114, allocations: 11.97 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.3114, allocations: 7.938 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.3116, allocations: 43.83 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3116, allocations: 0 / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3116, allocations: 0 / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3116, allocations: 0 / 1.168 GB, free: 5.523 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004656/0.3121, allocations: 342.3 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3121, allocations: 8.031 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.3122, allocations: 38.75 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.3122, allocations: 0.9375 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3124, allocations: 172.3 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3124, allocations: 384 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3124, allocations: 384 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3126, allocations: 50.23 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3127, allocations: 7.875 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3127, allocations: 4 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3127, allocations: 4 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3129, allocations: 39.91 kB / 1.168 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3132, allocations: 249.5 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.3134, allocations: 46.48 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.3135, allocations: 24.91 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3135, allocations: 4 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3135, allocations: 30.56 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3135, allocations: 3.938 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003566/0.3139, allocations: 85.64 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.3139, allocations: 51.53 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.314, allocations: 109.8 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3141, allocations: 29.7 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.3141, allocations: 88.41 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.3141, allocations: 11.83 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.3142, allocations: 13.72 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3143, allocations: 318.8 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.3144, allocations: 15.98 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3144, allocations: 23.97 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3146, allocations: 44.77 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3146, allocations: 4.188 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.3148, allocations: 69.56 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3148, allocations: 12.09 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3148, allocations: 4 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3149, allocations: 0 / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.3149, allocations: 11.98 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.315, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.315, allocations: 7.984 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.315, allocations: 4 kB / 1.17 GB, free: 3.398 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 (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 6.374e-05/0.3151, allocations: 109.8 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.3151, allocations: 4 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.3153, allocations: 81.12 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3153, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3154, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3154, allocations: 3.984 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3155, allocations: 169.5 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3155, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.3156, allocations: 7.984 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3156, allocations: 4.031 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3156, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3156, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3156, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.3158, allocations: 171.4 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.3159, allocations: 81.02 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.3159, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.316, allocations: 12.02 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.316, allocations: 4 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.316, allocations: 4 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.3161, allocations: 83.27 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3161, allocations: 0 / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002252/0.3163, allocations: 8 kB / 1.17 GB, free: 2.562 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 (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.0005323/0.3168, allocations: 0.7085 MB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.317, allocations: 43.89 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3171, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.3171, allocations: 24.06 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3174, allocations: 14.25 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.3178, allocations: 143 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3181, allocations: 0.6768 MB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.3181, allocations: 4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.3182, allocations: 19.42 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3182, allocations: 0 / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/0.4452, allocations: 1.407 MB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.452, allocations: 14.39 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches