Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001156/0.001156, 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.0008932/0.0008932, 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.8771/0.8771, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.699/1.699, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.399e-05, allocations: 2.281 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00157/0.001584, allocations: 1.464 MB / 0.9824 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.001815, allocations: 99.59 kB / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.001839, allocations: 0 / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.344e-05/0.001892, allocations: 3.938 kB / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.029e-05/0.001922, allocations: 0 / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.002154, allocations: 19.92 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.002214, allocations: 31.86 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.002289, allocations: 4 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.002322, allocations: 11.98 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.002355, allocations: 11.98 kB / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.002367, allocations: 0 / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.409e-05/0.002441, allocations: 19.97 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.002474, allocations: 11.92 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.002489, allocations: 4 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.487e-05/0.002584, allocations: 35.89 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002586, allocations: 4 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002586, allocations: 0 / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.002589, allocations: 4 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 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.0002938/0.002883, allocations: 270.3 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.002916, allocations: 8.031 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.002942, allocations: 42.67 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.772e-05/0.00296, allocations: 4.938 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.228e-05/0.003022, allocations: 105.8 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.003032, allocations: 8.312 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.003038, allocations: 384 / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.003158, allocations: 50.23 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.003164, allocations: 4.188 kB / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.003171, allocations: 384 / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.003176, allocations: 4.125 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.003263, allocations: 39.95 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.003498, allocations: 228 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.003587, allocations: 46.44 kB / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.003629, allocations: 16.91 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.003657, allocations: 15.97 kB / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.003676, allocations: 42.5 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.003677, allocations: 0 / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/0.003873, allocations: 81.64 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.003897, allocations: 55.41 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.00395, allocations: 113.8 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.003957, allocations: 25.7 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.003987, allocations: 84.27 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.003999, allocations: 3.953 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.004023, allocations: 17.72 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.004086, allocations: 314.8 kB / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.00413, allocations: 19.98 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.004166, allocations: 15.98 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/0.004243, allocations: 48.88 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004245, allocations: 0 / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.592e-05/0.004341, allocations: 77.55 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.00435, allocations: 4 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004354, allocations: 0 / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.004363, allocations: 3.938 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.004415, allocations: 8 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.004419, allocations: 0 / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.004442, allocations: 12.02 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.004446, allocations: 0 / 0.9843 GB, free: 14.94 MB / 0.948 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 4.514e-05/0.004491, allocations: 117.8 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.004502, allocations: 3.938 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.00462, allocations: 73.27 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.004621, allocations: 256 / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.004624, allocations: 4 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.004628, allocations: 4 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/0.004717, allocations: 128.8 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004718, allocations: 4 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.004741, allocations: 11.98 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.004743, allocations: 3.938 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.004748, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004748, allocations: 3.938 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004749, allocations: 4 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.004861, allocations: 159.5 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.004866, allocations: 11.97 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.004874, allocations: 0 / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.00491, allocations: 7.984 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.004935, allocations: 7.938 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.004938, allocations: 4 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.004963, allocations: 83.27 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004963, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001593/0.005122, allocations: 8 kB / 0.9849 GB, free: 14.24 MB / 0.948 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.0003036/0.005426, allocations: 0.7045 MB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.00554, allocations: 43.95 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.005542, allocations: 4 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.00558, allocations: 15.98 kB / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.005759, allocations: 10.94 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.00606, allocations: 146.7 kB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.006101, allocations: 59.34 kB / 0.9859 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.006117, allocations: 4 kB / 0.9859 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.006142, allocations: 12.5 kB / 0.9859 GB, free: 13.16 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/0.006143, allocations: 0 / 0.9859 GB, free: 13.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.0189, allocations: 2.096 MB / 0.988 GB, free: 11.19 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.77, allocations: 3.609 kB / 0.988 GB, free: 11.19 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.779851822182536]