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.001843/0.001843, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002283/0.002283, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.995/2.995, allocations: 476.7 MB / 0.7678 GB, free: 9.312 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="cs",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.002203/0.002203, allocations: 71.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9776/0.9798, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003111/0.9829, allocations: 1.453 MB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.9833, allocations: 95.77 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.9833, allocations: 3.938 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.381e-05/0.9834, allocations: 5.844 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.9834, allocations: 8.531 kB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.9837, allocations: 19.55 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.9838, allocations: 25.94 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.9839, allocations: 3.188 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.9839, allocations: 13.05 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.984, allocations: 9.734 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.984, allocations: 2.125 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.9841, allocations: 23.64 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.9841, allocations: 10.33 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.9841, allocations: 15.7 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.9843, allocations: 33.31 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.9843, allocations: 0 / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9843, allocations: 4 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.9843, allocations: 1.156 kB / 1.281 GB, free: 10.58 MB / 0.9981 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.000522/0.9848, allocations: 348.5 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.9848, allocations: 9.594 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.394e-05/0.9848, allocations: 0.9062 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.9849, allocations: 40.08 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.9849, allocations: 2.922 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.9851, allocations: 167.8 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.9851, allocations: 5.469 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.9851, allocations: 1.438 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.9853, allocations: 58.08 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9853, allocations: 1.281 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.9853, allocations: 0.6562 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.9853, allocations: 0 / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.9855, allocations: 36.91 kB / 1.281 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.9859, allocations: 259.1 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.9861, allocations: 43.53 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.9862, allocations: 21.39 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.9862, allocations: 6.609 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.9863, allocations: 40.59 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9863, allocations: 0 / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004159/0.9867, allocations: 88.47 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.9867, allocations: 51.97 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.9868, allocations: 106 kB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.9868, allocations: 25.7 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.9869, allocations: 90.64 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.9869, allocations: 9.047 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.987, allocations: 13.53 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9871, allocations: 313.9 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.9872, allocations: 22.7 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.9873, allocations: 20.7 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.9875, allocations: 51.8 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9875, allocations: 0 / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002243/0.9877, allocations: 67.36 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.9877, allocations: 8.5 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9877, allocations: 0 / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.9877, allocations: 0.6094 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.9878, allocations: 9.25 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.9878, allocations: 4.031 kB / 1.282 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.9879, allocations: 6.828 kB / 1.282 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9879, allocations: 1.062 kB / 1.282 GB, free: 8.805 MB / 0.9981 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.443e-05/0.988, allocations: 120.2 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.988, allocations: 2.578 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.9883, allocations: 71.45 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9883, allocations: 4.594 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9883, allocations: 5.25 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9883, allocations: 0.5 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.9885, allocations: 174.8 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9885, allocations: 0.6094 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.9886, allocations: 9.344 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9886, allocations: 0.6562 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.9886, allocations: 0.7188 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9886, allocations: 0 / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9886, allocations: 1.234 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.9889, allocations: 174 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.9889, allocations: 82.97 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.9889, allocations: 1.578 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.989, allocations: 6.203 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.9891, allocations: 2.031 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.9891, allocations: 4.531 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.9891, allocations: 87.44 kB / 1.283 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9891, allocations: 3.938 kB / 1.283 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002408/0.9894, allocations: 7.875 kB / 1.283 GB, free: 8.09 MB / 0.9981 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.0006676/0.99, allocations: 0.7093 MB / 1.284 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.9903, allocations: 39.22 kB / 1.284 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9903, allocations: 0 / 1.284 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.9904, allocations: 21.94 kB / 1.284 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.9907, allocations: 5.938 kB / 1.284 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.9912, allocations: 157.4 kB / 1.284 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.9915, allocations: 0.6812 MB / 1.285 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.9915, allocations: 2.094 kB / 1.285 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.9916, allocations: 9.734 kB / 1.285 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.9916, allocations: 0 / 1.285 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.011, allocations: 1.471 MB / 1.286 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.489/9.5, allocations: 11.31 kB / 1.286 GB, free: 6.117 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 16.188520659983624]