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.001401/0.001401, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001422/0.001422, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.629/1.629, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.293/3.293, allocations: 0.505 GB / 0.8066 GB, free: 23.25 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.002055/0.002055, allocations: 75.31 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 180.2 MB / 1.348 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003237/0.3664, allocations: 1.452 MB / 1.349 GB, free: 8.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.3668, allocations: 84.17 kB / 1.349 GB, free: 8.555 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.3668, allocations: 4 kB / 1.349 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.025e-05/0.3669, allocations: 0 / 1.349 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.3669, allocations: 3.938 kB / 1.349 GB, free: 8.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.3673, allocations: 15.97 kB / 1.349 GB, free: 8.531 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.944e-05/0.3674, allocations: 31.92 kB / 1.349 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3675, allocations: 0 / 1.349 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.3675, allocations: 15.92 kB / 1.349 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.3675, allocations: 11.98 kB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3675, allocations: 0 / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.3676, allocations: 12 kB / 1.349 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.3677, allocations: 19.91 kB / 1.349 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.3677, allocations: 7.938 kB / 1.349 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.3679, allocations: 36.12 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3679, allocations: 0 / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3679, allocations: 3.938 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3679, allocations: 3.938 kB / 1.349 GB, free: 8.391 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.0006157/0.3685, allocations: 343.4 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3686, allocations: 11.98 kB / 1.35 GB, free: 7.992 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.3686, allocations: 38.73 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3687, allocations: 8.891 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3688, allocations: 164.4 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3688, allocations: 384 / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3688, allocations: 384 / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.3691, allocations: 54.23 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3691, allocations: 3.938 kB / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3691, allocations: 0 / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3691, allocations: 0 / 1.35 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.3693, allocations: 43.89 kB / 1.35 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3697, allocations: 256.9 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3698, allocations: 42.5 kB / 1.35 GB, free: 7.281 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3699, allocations: 24.91 kB / 1.35 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.3699, allocations: 11.97 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.37, allocations: 30.56 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.37, allocations: 4 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003793/0.3704, allocations: 85.58 kB / 1.35 GB, free: 7.109 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3704, allocations: 55.41 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.3705, allocations: 106 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3705, allocations: 29.7 kB / 1.351 GB, free: 6.895 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.3706, allocations: 84.14 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.3706, allocations: 3.953 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3706, allocations: 13.72 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3708, allocations: 314.8 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-05/0.3709, allocations: 23.97 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.3709, allocations: 23.98 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3711, allocations: 44.75 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3711, allocations: 3.938 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.3713, allocations: 61.67 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3713, allocations: 11.98 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3713, allocations: 0 / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3714, allocations: 4.094 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.3714, allocations: 4 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3715, allocations: 4 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.3715, allocations: 7.984 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3715, allocations: 0 / 1.351 GB, free: 6.273 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.477e-05/0.3716, allocations: 113.8 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.3716, allocations: 7.953 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3719, allocations: 93.03 kB / 1.351 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3719, allocations: 4.188 kB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3719, allocations: 0 / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3719, allocations: 4 kB / 1.351 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3721, allocations: 165.6 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3721, allocations: 0 / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.3722, allocations: 8 kB / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3722, allocations: 0 / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3722, allocations: 0 / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3722, allocations: 4.031 kB / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3722, allocations: 3.984 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3724, allocations: 171.4 kB / 1.352 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3725, allocations: 81.06 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3725, allocations: 0 / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.3726, allocations: 4.031 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.3726, allocations: 11.98 kB / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3726, allocations: 0 / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.3727, allocations: 83.28 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3727, allocations: 0 / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002224/0.3729, allocations: 8 kB / 1.352 GB, free: 5.418 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.0005865/0.3735, allocations: 0.7045 MB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3737, allocations: 43.89 kB / 1.353 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3737, allocations: 0 / 1.353 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.3738, allocations: 19.98 kB / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3741, allocations: 9.812 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.3745, allocations: 151 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3748, allocations: 0.6768 MB / 1.354 GB, free: 3.727 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.3749, allocations: 0 / 1.354 GB, free: 3.727 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3749, allocations: 15.44 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3749, allocations: 0 / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3989, allocations: 1.416 MB / 1.355 GB, free: 2.379 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.629, allocations: 9.609 kB / 1.355 GB, free: 2.371 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 15.791703921975568]