Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_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.005417/0.005417, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001273/0.001273, allocations: 194.6 kB / 16.67 MB, free: 5.52 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.397/2.397, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 71.83 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7884, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001891/0.7903, allocations: 0.5753 MB / 1.167 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.7906, allocations: 45.84 kB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.7907, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.7907, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.353e-06/0.7907, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.7911, allocations: 15.92 kB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.7911, allocations: 11.94 kB / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.7912, allocations: 0 / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.7912, allocations: 0 / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.7913, allocations: 0 / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.7913, allocations: 4 kB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.7914, allocations: 11.98 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.7915, allocations: 11.98 kB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.7915, allocations: 0 / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.7916, allocations: 15.97 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7916, allocations: 3.938 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7916, allocations: 7.938 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7917, allocations: 0 / 1.167 GB, free: 3.066 MB / 0.8887 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.0004295/0.7921, allocations: 307.6 kB / 1.167 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.7921, allocations: 8.922 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.7922, allocations: 34.73 kB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.7922, allocations: 0.9375 kB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.7924, allocations: 164.4 kB / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.7924, allocations: 384 / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.7924, allocations: 4.375 kB / 1.167 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.7925, allocations: 30.27 kB / 1.167 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.7925, allocations: 7.875 kB / 1.167 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.7926, allocations: 0 / 1.167 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.7926, allocations: 0 / 1.167 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.7926, allocations: 11.92 kB / 1.167 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.7928, allocations: 145.7 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.7929, allocations: 18.61 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.7929, allocations: 4.859 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.7929, allocations: 4 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.793, allocations: 34.62 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.793, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.000174/0.7932, allocations: 41.56 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.7932, allocations: 55.53 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.7933, allocations: 89.86 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.7933, allocations: 25.7 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.7933, allocations: 80.14 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.7934, allocations: 4 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.7934, allocations: 13.72 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7936, allocations: 310.8 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.7936, allocations: 4 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-06/0.7936, allocations: 4 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.7936, allocations: 12.84 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7936, allocations: 0 / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.891e-05/0.7937, allocations: 37.55 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7937, allocations: 4 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7937, allocations: 7.938 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.7938, allocations: 0 / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.7938, allocations: 0 / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7939, allocations: 0 / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.7939, allocations: 4.094 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.7939, allocations: 8 kB / 1.168 GB, free: 1.383 MB / 0.8887 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 9.129e-05/0.794, allocations: 113.8 kB / 1.168 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.794, allocations: 7.922 kB / 1.168 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.7941, allocations: 40.77 kB / 1.168 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.7942, allocations: 0 / 1.168 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7942, allocations: 11.95 kB / 1.168 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7942, allocations: 0 / 1.168 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.7943, allocations: 149.6 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7943, allocations: 0 / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.7943, allocations: 4 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7944, allocations: 0 / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.7944, allocations: 3.938 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7944, allocations: 0 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7944, allocations: 0 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.549e-05/0.7945, allocations: 61.12 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.7945, allocations: 81.11 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.7945, allocations: 3.938 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.7945, allocations: 4 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.7946, allocations: 3.984 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.7946, allocations: 0 / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.7946, allocations: 75.28 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7946, allocations: 0 / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002157/0.7948, allocations: 12.03 kB / 1.169 GB, free: 0.7148 MB / 0.8887 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.0004448/0.7953, allocations: 0.6029 MB / 1.169 GB, free: 84 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.867e-05/0.7954, allocations: 4 kB / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7954, allocations: 0 / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-06/0.7954, allocations: 12.03 kB / 1.169 GB, free: 68 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.7955, allocations: 0 / 1.169 GB, free: 68 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.7959, allocations: 117 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.7962, allocations: 0.669 MB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.7962, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.7963, allocations: 11.5 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7963, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.824, allocations: 1.024 MB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.708, allocations: 7.953 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches