Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_9_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.0008559/0.0008559, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00527/0.00527, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6181/0.6185, allocations: 142.4 MB / 0.9552 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001516/0.62, allocations: 1.154 MB / 0.9563 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.6204, allocations: 99.02 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.6204, allocations: 3.938 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/0.6205, allocations: 0.9375 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.6205, allocations: 1.031 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.6208, allocations: 17.55 kB / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.6208, allocations: 21.08 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.6209, allocations: 7.062 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.621, allocations: 7.406 kB / 0.9564 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.621, allocations: 15.19 kB / 0.9565 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.6211, allocations: 5.094 kB / 0.9565 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.741e-05/0.6212, allocations: 17.08 kB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.6212, allocations: 9.109 kB / 0.9565 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.6212, allocations: 31.92 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6214, allocations: 33.98 kB / 0.9566 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6214, allocations: 0 / 0.9566 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6214, allocations: 1.125 kB / 0.9566 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6214, allocations: 0 / 0.9566 GB, free: 6.613 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003788/0.6218, allocations: 347.9 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6218, allocations: 9.5 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.6219, allocations: 30.75 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.6219, allocations: 3.156 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/0.622, allocations: 177.3 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.622, allocations: 1.5 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.622, allocations: 13.19 kB / 0.9571 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.6222, allocations: 60.8 kB / 0.9572 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.6222, allocations: 3.938 kB / 0.9572 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.6222, allocations: 0 / 0.9572 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6222, allocations: 1.219 kB / 0.9572 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.6224, allocations: 42.81 kB / 0.9572 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.6227, allocations: 256.7 kB / 0.9575 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.6228, allocations: 54.77 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.6229, allocations: 36.75 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.6229, allocations: 2.5 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.623, allocations: 31.56 kB / 0.9576 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.623, allocations: 0 / 0.9576 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000384/0.6234, allocations: 103.7 kB / 0.9577 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.6234, allocations: 56.81 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.6235, allocations: 104.9 kB / 0.9578 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.6235, allocations: 27.14 kB / 0.9579 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.6235, allocations: 89.55 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.6235, allocations: 4.109 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.6236, allocations: 15.25 kB / 0.958 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.6236, allocations: 314.8 kB / 0.9583 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.6237, allocations: 20.3 kB / 0.9583 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.6238, allocations: 26.84 kB / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.624, allocations: 52.92 kB / 0.9584 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.624, allocations: 3.938 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.6242, allocations: 89.56 kB / 0.9584 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6242, allocations: 4.094 kB / 0.9584 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6242, allocations: 5.766 kB / 0.9585 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6243, allocations: 0 / 0.9585 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.6244, allocations: 12.52 kB / 0.9585 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.6244, allocations: 0 / 0.9585 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.6244, allocations: 18.7 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.6244, allocations: 0 / 0.9585 GB, free: 4.711 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 (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 4.864e-05/0.6245, allocations: 111.8 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.6245, allocations: 2.062 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.6247, allocations: 87.84 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6248, allocations: 1.188 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6248, allocations: 3.938 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6248, allocations: 0 / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.6249, allocations: 164.6 kB / 0.9588 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6249, allocations: 1.438 kB / 0.9588 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.625, allocations: 15.58 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.625, allocations: 0 / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.625, allocations: 9.625 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.625, allocations: 0 / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.625, allocations: 0 / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.6252, allocations: 184.5 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.6252, allocations: 78.3 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.6253, allocations: 0 / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.6253, allocations: 10.14 kB / 0.9591 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.6254, allocations: 5.922 kB / 0.9591 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.6254, allocations: 5.625 kB / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.6254, allocations: 87.27 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6254, allocations: 1.094 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002191/0.6256, allocations: 11.44 kB / 0.9592 GB, free: 3.957 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 (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.0004122/0.6261, allocations: 0.7126 MB / 0.9599 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.6263, allocations: 54.08 kB / 0.96 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6263, allocations: 0 / 0.96 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/0.6264, allocations: 28.95 kB / 0.96 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.6266, allocations: 10.67 kB / 0.96 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.627, allocations: 147.7 kB / 0.9602 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.6271, allocations: 0.6837 MB / 0.9608 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.6271, allocations: 4.062 kB / 0.9608 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.6271, allocations: 12.81 kB / 0.9608 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6271, allocations: 0 / 0.9608 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009647/0.6368, allocations: 1.153 MB / 0.962 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.637, allocations: 203.4 kB / 0.9622 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.205, allocations: 0 / 0.9622 GB, free: 1.539 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches