Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001557/0.001557, allocations: 113 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.001917/0.001917, allocations: 209.3 kB / 22.25 MB, free: 5.082 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 8.031 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.344/3.344, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.002025/0.002025, allocations: 64.53 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3599, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002869/0.3627, allocations: 1.473 MB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.363, allocations: 79.83 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.3631, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.3631, allocations: 3.938 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.3631, allocations: 7.984 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3634, allocations: 19.92 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.3634, allocations: 23.98 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.3635, allocations: 7.984 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.3636, allocations: 11.94 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.3636, allocations: 7.984 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3636, allocations: 7.938 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.3637, allocations: 15.97 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.3637, allocations: 11.94 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.3637, allocations: 7.938 kB / 1.355 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3639, allocations: 48.09 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3639, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3639, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3639, allocations: 0 / 1.355 GB, free: 6.734 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004367/0.3643, allocations: 266.3 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3643, allocations: 8.031 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.3644, allocations: 30.75 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.3644, allocations: 8.891 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3645, allocations: 102.5 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3645, allocations: 8.375 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.3645, allocations: 384 / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3647, allocations: 54.17 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3647, allocations: 7.875 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3647, allocations: 0 / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3647, allocations: 0 / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3649, allocations: 43.95 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.3652, allocations: 228 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3654, allocations: 38.5 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.3655, allocations: 28.89 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.3655, allocations: 7.938 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3655, allocations: 34.56 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3655, allocations: 0 / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003655/0.3659, allocations: 89.62 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3659, allocations: 51.41 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.366, allocations: 105.8 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.366, allocations: 25.7 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.3661, allocations: 92.27 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.3661, allocations: 3.953 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3662, allocations: 9.719 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3663, allocations: 326.8 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.3664, allocations: 11.98 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.3665, allocations: 23.92 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3666, allocations: 44.88 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3666, allocations: 3.938 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.3668, allocations: 69.66 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3669, allocations: 4 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3669, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3669, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.367, allocations: 11.98 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.367, allocations: 4.031 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.367, allocations: 7.938 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.367, allocations: 4 kB / 1.356 GB, free: 4.816 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 (2): * Single equations (assignments): 2 * 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.679e-05/0.3671, allocations: 121.7 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3671, allocations: 3.953 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.3674, allocations: 73.53 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3674, allocations: 12.03 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3674, allocations: 0 / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3674, allocations: 0 / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3676, allocations: 136.7 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3676, allocations: 0 / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.3676, allocations: 4 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3676, allocations: 3.984 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3676, allocations: 4 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3676, allocations: 0 / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3676, allocations: 3.938 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3679, allocations: 171.4 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.3679, allocations: 7.953 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.3679, allocations: 0 / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.368, allocations: 7.984 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.368, allocations: 0 / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.368, allocations: 8.031 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.3681, allocations: 87.27 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3681, allocations: 0 / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002181/0.3683, allocations: 4 kB / 1.357 GB, free: 4.105 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 (2): * Single equations (assignments): 2 * 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.0006057/0.3689, allocations: 0.7045 MB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.3691, allocations: 43.95 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3691, allocations: 0 / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.3692, allocations: 15.98 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3694, allocations: 7.938 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.3699, allocations: 155.2 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3702, allocations: 0.6806 MB / 1.358 GB, free: 2.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.3703, allocations: 4 kB / 1.358 GB, free: 2.406 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.3703, allocations: 11.44 kB / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of SimCode: time 3.6e-07/0.3703, allocations: 0 / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.3977, allocations: 1.521 MB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.42, allocations: 6.875 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.3340190211311]