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.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.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.00974/0.009741, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.002052/0.002052, allocations: 190.3 kB / 16.67 MB, free: 5.941 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.21/2.21, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.8379, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002492/0.8404, allocations: 1.428 MB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003291/0.8408, allocations: 103.1 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.8408, allocations: 0 / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.601e-05/0.8409, allocations: 2.188 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.841, allocations: 9.734 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.8412, allocations: 14.17 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.981e-05/0.8413, allocations: 29.44 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.8415, allocations: 8.875 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.8415, allocations: 8.688 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.8416, allocations: 14.34 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.8416, allocations: 2.188 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.8417, allocations: 17.95 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.8417, allocations: 14.98 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.8418, allocations: 11.45 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.8419, allocations: 39.5 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8419, allocations: 1.125 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8419, allocations: 0 / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8419, allocations: 0 / 1.089 GB, free: 4.141 MB / 0.8575 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.0003608/0.8423, allocations: 342 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8423, allocations: 9.344 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/0.8423, allocations: 36.34 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.8424, allocations: 5.906 kB / 1.089 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.668e-05/0.8424, allocations: 171.5 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.8425, allocations: 1.5 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.8425, allocations: 2.234 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.8426, allocations: 50.83 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.8426, allocations: 11.88 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.8427, allocations: 0.7031 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.8427, allocations: 5.031 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.8429, allocations: 39.45 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.8431, allocations: 251.9 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.8432, allocations: 44.16 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.8433, allocations: 20.94 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.8434, allocations: 12 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.8434, allocations: 35.44 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8434, allocations: 0 / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003555/0.8438, allocations: 85.14 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.8438, allocations: 53.58 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.895e-05/0.8439, allocations: 104.5 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.8439, allocations: 29.7 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.8439, allocations: 82.77 kB / 1.09 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.8439, allocations: 9.406 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.844, allocations: 12.27 kB / 1.09 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.844, allocations: 317 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.8441, allocations: 19.86 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.8442, allocations: 25.06 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.8444, allocations: 43.61 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8444, allocations: 4.875 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.8446, allocations: 66.52 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8446, allocations: 5.266 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8446, allocations: 1.125 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.8446, allocations: 4.094 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.8447, allocations: 9.734 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.8447, allocations: 0 / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.8448, allocations: 10.19 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.8448, allocations: 1.188 kB / 1.091 GB, free: 2.375 MB / 0.8575 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.87e-05/0.8448, allocations: 121.4 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.8449, allocations: 1.703 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.8451, allocations: 79.58 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8451, allocations: 0 / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8451, allocations: 1.656 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8451, allocations: 3.984 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.8453, allocations: 164 kB / 1.091 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8453, allocations: 0 / 1.091 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.8453, allocations: 12.39 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8453, allocations: 1.156 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.8454, allocations: 0.9688 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8454, allocations: 8.641 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8454, allocations: 0.8125 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.8456, allocations: 170.4 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.8456, allocations: 82.75 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.8456, allocations: 1.703 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.8457, allocations: 9.531 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.8457, allocations: 2.328 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.8458, allocations: 1.125 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.854e-05/0.8458, allocations: 86.28 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8458, allocations: 0 / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002278/0.846, allocations: 8.734 kB / 1.092 GB, free: 1.664 MB / 0.8575 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.0004443/0.8465, allocations: 0.7046 MB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.8467, allocations: 38.27 kB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8467, allocations: 0.9062 kB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.8468, allocations: 26.45 kB / 1.092 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.8471, allocations: 9 kB / 1.092 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.8475, allocations: 152.2 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.8477, allocations: 0.6774 MB / 1.093 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.8477, allocations: 5.578 kB / 1.093 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.8478, allocations: 9.562 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8478, allocations: 1.031 kB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.8645, allocations: 1.446 MB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/8.187, allocations: 3.672 kB / 1.095 GB, free: 15.7 MB / 0.8731 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