Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001769/0.001769, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001469/0.001469, allocations: 219.5 kB / 23.03 MB, free: 4.922 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.254/3.254, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_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.002033/0.002033, allocations: 71.14 kB / 1.171 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3975, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001998/0.3995, allocations: 0.5874 MB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.3998, allocations: 23.91 kB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.3998, allocations: 0 / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.3998, allocations: 0 / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.3998, allocations: 0 / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.4001, allocations: 23.91 kB / 1.346 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.4001, allocations: 4 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.4002, allocations: 4.344 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.4002, allocations: 4 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.4002, allocations: 0 / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.4002, allocations: 0 / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.4003, allocations: 19.97 kB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.4003, allocations: 4 kB / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.4003, allocations: 0 / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.4004, allocations: 7.984 kB / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4004, allocations: 0 / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4004, allocations: 0 / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.4004, allocations: 4 kB / 1.346 GB, free: 15.21 MB / 1.045 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.000332/0.4008, allocations: 242.7 kB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4008, allocations: 8.031 kB / 1.346 GB, free: 14.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.311e-05/0.4008, allocations: 192 / 1.346 GB, free: 14.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.4008, allocations: 30.75 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.4009, allocations: 4.938 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.477e-05/0.401, allocations: 110.5 kB / 1.346 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.401, allocations: 8.297 kB / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.401, allocations: 384 / 1.346 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4011, allocations: 34.02 kB / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4011, allocations: 0 / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.4011, allocations: 0 / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4011, allocations: 3.938 kB / 1.346 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.4012, allocations: 3.984 kB / 1.346 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.4013, allocations: 124.8 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/0.4014, allocations: 18.52 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.4014, allocations: 12.95 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.4014, allocations: 0 / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.4015, allocations: 38.5 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4015, allocations: 0 / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.4016, allocations: 37.69 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4017, allocations: 51.41 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.774e-05/0.4017, allocations: 89.86 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4017, allocations: 25.7 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.4018, allocations: 88.08 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.4018, allocations: 3.953 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.4018, allocations: 13.84 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.402, allocations: 310.8 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.402, allocations: 11.94 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.402, allocations: 0 / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.402, allocations: 12.84 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.402, allocations: 0 / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.112e-05/0.4021, allocations: 29.7 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4021, allocations: 11.94 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4021, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4021, allocations: 4.094 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.4022, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4022, allocations: 4 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.4022, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4022, allocations: 3.938 kB / 1.347 GB, free: 13.7 MB / 1.045 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 7.697e-05/0.4023, allocations: 109.8 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.4023, allocations: 11.94 kB / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.4024, allocations: 36.7 kB / 1.347 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4024, allocations: 0 / 1.347 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.4024, allocations: 3.984 kB / 1.347 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4024, allocations: 0 / 1.347 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.4025, allocations: 116.8 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4025, allocations: 0 / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.4026, allocations: 3.938 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4026, allocations: 7.938 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.4026, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4026, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4026, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.349e-05/0.4027, allocations: 69.09 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.4027, allocations: 0 / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.4027, allocations: 3.938 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.4027, allocations: 4 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.4027, allocations: 4 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.4027, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.4028, allocations: 79.28 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4028, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001977/0.403, allocations: 7.984 kB / 1.348 GB, free: 13.17 MB / 1.045 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.0004762/0.4034, allocations: 0.6007 MB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.453e-05/0.4035, allocations: 4 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4035, allocations: 3.938 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.4035, allocations: 0 / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.4037, allocations: 4 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.404, allocations: 106.5 kB / 1.348 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.4041, allocations: 59.34 kB / 1.348 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.4041, allocations: 12.14 kB / 1.348 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.4041, allocations: 7.438 kB / 1.348 GB, free: 12.29 MB / 1.045 GB Notification: Performance of SimCode: time 4.2e-07/0.4041, allocations: 0 / 1.348 GB, free: 12.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.4263, allocations: 1.168 MB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.01, allocations: 9.938 kB / 1.35 GB, free: 11.25 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.909903931082226]