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.00135/0.00135, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001572/0.001572, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.02 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 3.004/3.004, allocations: 476.8 MB / 0.7707 GB, free: 4.266 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",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.00204/0.00204, allocations: 66.03 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3679, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002528/0.3705, allocations: 0.5995 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.3707, allocations: 39.81 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.3708, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.3708, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.3708, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.3711, allocations: 19.92 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.854e-05/0.3712, allocations: 4 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.3712, allocations: 4 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.3712, allocations: 0 / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.3713, allocations: 3.984 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.3713, allocations: 0 / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3714, allocations: 15.98 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.3714, allocations: 7.969 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.3714, allocations: 3.938 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3715, allocations: 15.98 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3715, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3715, allocations: 4 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3715, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 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.0003388/0.3719, allocations: 246 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3719, allocations: 8.031 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.372, allocations: 30.75 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.372, allocations: 0.9375 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.3721, allocations: 106.5 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3721, allocations: 4.375 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3721, allocations: 4.359 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.3722, allocations: 30.27 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3722, allocations: 3.938 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3722, allocations: 0 / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3723, allocations: 4 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.3723, allocations: 3.984 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.3724, allocations: 116.8 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.3725, allocations: 22.55 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.3725, allocations: 8.859 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.3725, allocations: 4.062 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3726, allocations: 30.56 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3726, allocations: 0 / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001718/0.3727, allocations: 41.62 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3728, allocations: 51.41 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.997e-05/0.3728, allocations: 89.86 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3729, allocations: 29.7 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.373, allocations: 88.2 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.373, allocations: 3.953 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3731, allocations: 13.66 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3732, allocations: 311 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.3732, allocations: 7.938 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.3732, allocations: 3.984 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.3733, allocations: 12.86 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3733, allocations: 4.062 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.192e-05/0.3733, allocations: 29.7 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3734, allocations: 8 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3734, allocations: 3.938 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3734, allocations: 0 / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.3734, allocations: 3.938 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3735, allocations: 4 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.3735, allocations: 4 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3735, allocations: 3.984 kB / 1.285 GB, free: 9.457 MB / 0.9825 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.673e-05/0.3736, allocations: 113.9 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.3736, allocations: 0 / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.3737, allocations: 45.34 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3737, allocations: 3.984 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3737, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3737, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.3739, allocations: 116.8 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3739, allocations: 4.031 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.3739, allocations: 0 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3739, allocations: 0 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3739, allocations: 7.938 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3739, allocations: 0 / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.374, allocations: 3.938 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.431e-05/0.374, allocations: 57.12 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-06/0.374, allocations: 4 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.3741, allocations: 7.969 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.3741, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3741, allocations: 3.984 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3741, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002486/0.3743, allocations: 79.28 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3743, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002126/0.3745, allocations: 7.938 kB / 1.286 GB, free: 8.938 MB / 0.9825 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.00061/0.3752, allocations: 0.6007 MB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.3752, allocations: 11.94 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3752, allocations: 0 / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.3752, allocations: 0 / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3754, allocations: 7.938 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.3758, allocations: 110.7 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3761, allocations: 0.669 MB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.3762, allocations: 3.984 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.3762, allocations: 19.38 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of SimCode: time 4.8e-07/0.3762, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.4065, allocations: 1.123 MB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.38, allocations: 12.08 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.31276730610989]