Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001359/0.001359, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00175/0.00175, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.797 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.939/2.939, allocations: 476 MB / 0.7699 GB, free: 4.738 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.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_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.002094/0.002094, allocations: 68.28 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 169.9 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00348/0.3532, allocations: 1.463 MB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004148/0.3536, allocations: 91.77 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.3536, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.826e-05/0.3537, allocations: 0 / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.3537, allocations: 11.92 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.3541, allocations: 19.91 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.184e-05/0.3542, allocations: 23.98 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.3543, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.3543, allocations: 11.94 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.3544, allocations: 19.92 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3544, allocations: 4 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3545, allocations: 23.91 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.3545, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.47e-05/0.3546, allocations: 15.92 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.3547, allocations: 35.47 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3547, allocations: 3.938 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3547, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3547, allocations: 0 / 1.284 GB, free: 10.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000549/0.3553, allocations: 270.3 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3553, allocations: 12.03 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.3554, allocations: 34.75 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.3554, allocations: 0.9375 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3555, allocations: 110.5 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3556, allocations: 4.312 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.3556, allocations: 384 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.3558, allocations: 50.23 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3558, allocations: 7.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3558, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3558, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.356, allocations: 43.95 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.3563, allocations: 216.1 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3565, allocations: 46.44 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/0.3566, allocations: 32.83 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.3566, allocations: 0 / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3567, allocations: 34.56 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3567, allocations: 0 / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.357, allocations: 93.59 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3571, allocations: 55.34 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.3572, allocations: 105.8 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3572, allocations: 25.7 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.3572, allocations: 80.14 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3573, allocations: 15.89 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3573, allocations: 9.719 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3574, allocations: 319 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.3575, allocations: 19.98 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.3576, allocations: 19.98 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3578, allocations: 40.81 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3578, allocations: 7.938 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.358, allocations: 69.72 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.358, allocations: 6.344 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.358, allocations: 7.875 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.358, allocations: 4 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3581, allocations: 7.984 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3581, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.3582, allocations: 4 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3582, allocations: 256 / 1.286 GB, free: 8.82 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 (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 8.868e-05/0.3582, allocations: 117.8 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3583, allocations: 8.016 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.3585, allocations: 81.28 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3585, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3585, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3585, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3587, allocations: 136.6 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3587, allocations: 0 / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.3588, allocations: 15.91 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3588, allocations: 8.031 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3588, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3588, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3588, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3591, allocations: 167.5 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.3591, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3591, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.3592, allocations: 7.984 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3592, allocations: 4 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3592, allocations: 7.969 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.72e-05/0.3593, allocations: 87.27 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002363/0.3595, allocations: 8 kB / 1.287 GB, free: 8.109 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 (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.0006776/0.3602, allocations: 0.7084 MB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3604, allocations: 43.98 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3604, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.3605, allocations: 23.92 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3608, allocations: 3.984 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.3614, allocations: 159 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.3614, allocations: 67.28 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.3615, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3615, allocations: 19.55 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3615, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.3935, allocations: 1.958 MB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 2.062 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.981603033374995]