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.0007672/0.0007672, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000872/0.000872, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9229/0.9229, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.812/1.812, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.338e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001879/0.001902, allocations: 1.446 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.002149, allocations: 87.62 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.002179, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.891e-05/0.002238, allocations: 3.984 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.002273, allocations: 15.88 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.002521, allocations: 15.97 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.002589, allocations: 27.86 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.00268, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.002718, allocations: 11.98 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.002748, allocations: 4 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.002765, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.002838, allocations: 27.91 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.002881, allocations: 7.984 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.002898, allocations: 7.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.003015, allocations: 31.94 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003017, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003018, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003022, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 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.0003683/0.003391, allocations: 262.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.003434, allocations: 12.75 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.003465, allocations: 38.69 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.003487, allocations: 0.9375 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.033e-05/0.003577, allocations: 113.8 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.003589, allocations: 384 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.003598, allocations: 4.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.003754, allocations: 54.23 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.003761, allocations: 4.125 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.00377, allocations: 4.359 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.003776, allocations: 4.125 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.00387, allocations: 39.95 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.00416, allocations: 227.9 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.896e-05/0.004249, allocations: 42.55 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.004295, allocations: 24.91 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.004328, allocations: 4 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.004349, allocations: 38.5 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004351, allocations: 0 / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002244/0.004575, allocations: 89.53 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.004604, allocations: 51.53 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.694e-05/0.004671, allocations: 113.8 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004682, allocations: 25.7 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.004722, allocations: 84.14 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.00474, allocations: 3.953 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.004769, allocations: 21.7 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.004847, allocations: 310.8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.004896, allocations: 19.98 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.004933, allocations: 15.97 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.005025, allocations: 52.83 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005027, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.005139, allocations: 73.53 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.005155, allocations: 8 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00516, allocations: 0 / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.005171, allocations: 0 / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.005239, allocations: 12.02 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.005243, allocations: 4 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.005265, allocations: 4 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.005272, allocations: 3.984 kB / 1.003 GB, free: 9.855 MB / 0.9636 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 5.524e-05/0.005327, allocations: 109.8 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.005341, allocations: 7.938 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.005482, allocations: 69.28 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005484, allocations: 3.938 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.00549, allocations: 4.031 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.005492, allocations: 0 / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.005598, allocations: 136.6 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0056, allocations: 256 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.005629, allocations: 15.98 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.005632, allocations: 3.938 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.005639, allocations: 4 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.00564, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.005641, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.005772, allocations: 163.5 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.00578, allocations: 7.938 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.005791, allocations: 3.984 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.005828, allocations: 4 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.005864, allocations: 7.984 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.005867, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.005895, allocations: 83.28 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005896, allocations: 3.938 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001577/0.006053, allocations: 4 kB / 1.004 GB, free: 9.156 MB / 0.9636 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.0003676/0.006421, allocations: 0.7046 MB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.006553, allocations: 39.97 kB / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006555, allocations: 0 / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.006597, allocations: 23.91 kB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.006821, allocations: 16.09 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.007171, allocations: 135.4 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.846e-05/0.00722, allocations: 63.34 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.00724, allocations: 3.984 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.007272, allocations: 20.44 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.007272, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02341, allocations: 2.073 MB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.084, allocations: 8 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.318805003538728]