Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 71.91 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.017, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001863/1.018, allocations: 0.5836 MB / 1.28 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002507/1.019, allocations: 42.56 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.273e-05/1.019, allocations: 1.094 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/1.019, allocations: 4 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/1.019, allocations: 0 / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/1.019, allocations: 13.5 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.364e-05/1.019, allocations: 1.969 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/1.019, allocations: 2.141 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/1.019, allocations: 0.9062 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/1.019, allocations: 1.516 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/1.019, allocations: 0 / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/1.019, allocations: 21.33 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/1.019, allocations: 5.047 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/1.019, allocations: 4 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.269e-05/1.019, allocations: 16.61 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.019, allocations: 0 / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/1.019, allocations: 0 / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.569e-06/1.019, allocations: 5.094 kB / 1.28 GB, free: 11.29 MB / 0.9981 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.0003598/1.02, allocations: 318.3 kB / 1.28 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.02, allocations: 13.59 kB / 1.28 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/1.02, allocations: 192 / 1.28 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/1.02, allocations: 36.62 kB / 1.28 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/1.02, allocations: 4.938 kB / 1.28 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/1.02, allocations: 161.6 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/1.02, allocations: 1.344 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/1.02, allocations: 1.5 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/1.02, allocations: 37.2 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/1.02, allocations: 0 / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/1.02, allocations: 0.7969 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.02, allocations: 1.156 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/1.02, allocations: 0.9375 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/1.02, allocations: 152.5 kB / 1.28 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/1.02, allocations: 17.69 kB / 1.28 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/1.02, allocations: 5.922 kB / 1.28 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/1.02, allocations: 2.094 kB / 1.28 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.02, allocations: 40.64 kB / 1.28 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.02, allocations: 0 / 1.28 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001398/1.021, allocations: 36.11 kB / 1.28 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.021, allocations: 52.25 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.754e-05/1.021, allocations: 94.66 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/1.021, allocations: 26.77 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/1.021, allocations: 80.14 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/1.021, allocations: 5.016 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/1.021, allocations: 12.58 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.021, allocations: 311.5 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/1.021, allocations: 5.891 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-06/1.021, allocations: 2.25 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/1.021, allocations: 15.84 kB / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.021, allocations: 4.969 kB / 1.281 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.59e-05/1.021, allocations: 32.78 kB / 1.281 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.021, allocations: 8.5 kB / 1.281 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.021, allocations: 1 kB / 1.281 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.021, allocations: 4.547 kB / 1.281 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/1.021, allocations: 3.109 kB / 1.281 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/1.021, allocations: 4.094 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/1.021, allocations: 5 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/1.021, allocations: 1.125 kB / 1.281 GB, free: 9.668 MB / 0.9981 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 8.126e-05/1.021, allocations: 107.7 kB / 1.281 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/1.021, allocations: 5.828 kB / 1.281 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/1.021, allocations: 53.11 kB / 1.281 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/1.021, allocations: 1 kB / 1.281 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.021, allocations: 0 / 1.281 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/1.021, allocations: 1.125 kB / 1.281 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/1.022, allocations: 145 kB / 1.281 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.022, allocations: 0 / 1.281 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/1.022, allocations: 2.344 kB / 1.281 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.022, allocations: 4.688 kB / 1.281 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/1.022, allocations: 1.406 kB / 1.281 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/1.022, allocations: 0 / 1.281 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.022, allocations: 0.6875 kB / 1.281 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/1.022, allocations: 66.11 kB / 1.281 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/1.022, allocations: 78.88 kB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/1.022, allocations: 4.594 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/1.022, allocations: 1.094 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/1.022, allocations: 1.641 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/1.022, allocations: 1.062 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.598e-05/1.022, allocations: 75.28 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.022, allocations: 4.031 kB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001953/1.022, allocations: 6.5 kB / 1.282 GB, free: 9.055 MB / 0.9981 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.0004887/1.022, allocations: 0.5967 MB / 1.282 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.639e-05/1.023, allocations: 8.922 kB / 1.282 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.023, allocations: 4.094 kB / 1.282 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/1.023, allocations: 6.25 kB / 1.282 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/1.023, allocations: 5.688 kB / 1.282 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/1.023, allocations: 107.2 kB / 1.282 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/1.023, allocations: 0.6745 MB / 1.283 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.452e-05/1.023, allocations: 5.906 kB / 1.283 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/1.023, allocations: 8.625 kB / 1.283 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.023, allocations: 0.75 kB / 1.283 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/1.041, allocations: 1.09 MB / 1.284 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/9.542, allocations: 10.58 kB / 1.284 GB, free: 7.203 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.19847809994826]