Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_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.004949/0.004949, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00103/0.00103, allocations: 186.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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.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.151/2.151, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 69.31 kB / 0.9504 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2375, allocations: 140.4 MB / 1.088 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001529/0.2391, allocations: 0.5804 MB / 1.088 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000219/0.2393, allocations: 43.81 kB / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.2393, allocations: 0 / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.2394, allocations: 0 / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.2394, allocations: 4 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.2396, allocations: 11.98 kB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.2397, allocations: 11.92 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.2397, allocations: 0 / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.2397, allocations: 0 / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.2398, allocations: 0 / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2398, allocations: 4 kB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.2399, allocations: 15.92 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.2399, allocations: 4 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.2399, allocations: 0 / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.425e-05/0.24, allocations: 23.95 kB / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.24, allocations: 0 / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.24, allocations: 4 kB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.24, allocations: 0 / 1.088 GB, free: 1.188 MB / 0.8419 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.0002652/0.2403, allocations: 311.6 kB / 1.088 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2403, allocations: 8.031 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.2404, allocations: 38.69 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.2404, allocations: 0.9375 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.2405, allocations: 164.4 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2405, allocations: 384 / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.2405, allocations: 8.375 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.2406, allocations: 30.2 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2406, allocations: 3.938 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.2406, allocations: 0 / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2406, allocations: 0 / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.2407, allocations: 4 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.2408, allocations: 149.7 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.2408, allocations: 22.61 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.2409, allocations: 4.859 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.2409, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.2409, allocations: 38.56 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.2409, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.241, allocations: 33.64 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.2411, allocations: 55.39 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.943e-05/0.2411, allocations: 93.98 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2411, allocations: 29.7 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.2412, allocations: 80.14 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2412, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.2413, allocations: 10.06 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2414, allocations: 310.8 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.2414, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.2414, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.2414, allocations: 20.86 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2414, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.295e-05/0.2415, allocations: 37.62 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2415, allocations: 6.031 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2415, allocations: 7.938 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2415, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.2416, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2416, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.261e-05/0.2416, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2416, allocations: 4 kB / 1.09 GB, free: 15.5 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 (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 6.355e-05/0.2417, allocations: 113.8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-06/0.2417, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.555e-05/0.2418, allocations: 52.69 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2418, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2418, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2418, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.953e-05/0.2419, allocations: 149.7 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2419, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.242, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.242, allocations: 3.984 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.242, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.242, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.242, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.743e-05/0.2421, allocations: 68.97 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.2421, allocations: 81.14 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.2421, allocations: 3.938 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.2422, allocations: 8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-06/0.2422, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2422, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.484e-05/0.2422, allocations: 75.28 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2422, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001916/0.2424, allocations: 4 kB / 1.09 GB, free: 14.84 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 (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.000348/0.2428, allocations: 0.6035 MB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.716e-05/0.2428, allocations: 11.92 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2428, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.2429, allocations: 8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.243, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.2433, allocations: 110.9 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.2435, allocations: 0.6729 MB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.2435, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.2436, allocations: 7.438 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.2436, allocations: 3.938 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2618, allocations: 1.009 MB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.691, allocations: 11.92 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches