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.001579/0.001579, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001897/0.001897, allocations: 215 kB / 20.13 MB, free: 2.949 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.592/1.592, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.057/3.057, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_latest_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.001987/0.001987, allocations: 67.91 kB / 1.165 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9363/0.9383, allocations: 178.9 MB / 1.34 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002669/0.941, allocations: 1.454 MB / 1.342 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002858/0.9413, allocations: 86.69 kB / 1.342 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.9413, allocations: 5.25 kB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.9414, allocations: 0 / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.366e-05/0.9414, allocations: 5.125 kB / 1.342 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.9416, allocations: 15.89 kB / 1.342 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.9417, allocations: 29.97 kB / 1.342 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.077e-05/0.9418, allocations: 6.547 kB / 1.342 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.9418, allocations: 11.59 kB / 1.342 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.9418, allocations: 11.27 kB / 1.342 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.9418, allocations: 1.469 kB / 1.342 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.9419, allocations: 19.22 kB / 1.342 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.942, allocations: 14.3 kB / 1.342 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.942, allocations: 14.33 kB / 1.342 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.9421, allocations: 26.52 kB / 1.342 GB, free: 12.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9421, allocations: 1.312 kB / 1.342 GB, free: 12.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9421, allocations: 0 / 1.342 GB, free: 12.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.9421, allocations: 0 / 1.342 GB, free: 12.47 MB / 1.029 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.000482/0.9426, allocations: 350.2 kB / 1.342 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.9426, allocations: 10.16 kB / 1.342 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.579e-05/0.9426, allocations: 4.188 kB / 1.342 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.9427, allocations: 31.91 kB / 1.342 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.9427, allocations: 5.953 kB / 1.342 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.9428, allocations: 170.7 kB / 1.342 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.9429, allocations: 1.781 kB / 1.342 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.9429, allocations: 384 / 1.342 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.9431, allocations: 55.02 kB / 1.342 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.9431, allocations: 3.938 kB / 1.342 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.9431, allocations: 1.406 kB / 1.342 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9431, allocations: 4 kB / 1.342 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.9433, allocations: 37.55 kB / 1.342 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.9436, allocations: 260.9 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.9437, allocations: 36.53 kB / 1.343 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.9438, allocations: 28.27 kB / 1.343 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.9439, allocations: 2.219 kB / 1.343 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.9439, allocations: 35.72 kB / 1.343 GB, free: 11.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9439, allocations: 0 / 1.343 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003743/0.9443, allocations: 85.33 kB / 1.343 GB, free: 11.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.9443, allocations: 55.53 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9444, allocations: 114.4 kB / 1.343 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.9444, allocations: 29.7 kB / 1.343 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.9445, allocations: 81.3 kB / 1.343 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.9445, allocations: 5.047 kB / 1.343 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.9445, allocations: 16.03 kB / 1.343 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9447, allocations: 316 kB / 1.343 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.366e-05/0.9448, allocations: 24.05 kB / 1.343 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.9449, allocations: 17.58 kB / 1.343 GB, free: 10.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.945, allocations: 46.66 kB / 1.344 GB, free: 10.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.945, allocations: 0 / 1.344 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.9452, allocations: 71.19 kB / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9453, allocations: 10.09 kB / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9453, allocations: 0 / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.9453, allocations: 0 / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.9454, allocations: 10.11 kB / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.9454, allocations: 1.438 kB / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.9454, allocations: 6.734 kB / 1.344 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.9454, allocations: 1.281 kB / 1.344 GB, free: 10.58 MB / 1.029 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.05e-05/0.9455, allocations: 116.5 kB / 1.344 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.9455, allocations: 13.56 kB / 1.344 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.9458, allocations: 73.94 kB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9458, allocations: 3.938 kB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9458, allocations: 1.031 kB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9458, allocations: 0 / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.946, allocations: 172.3 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.946, allocations: 1.438 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.946, allocations: 5.531 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.946, allocations: 8.016 kB / 1.344 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.9461, allocations: 1.469 kB / 1.344 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9461, allocations: 0 / 1.344 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9461, allocations: 0 / 1.344 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.9463, allocations: 166.5 kB / 1.344 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.9464, allocations: 86.12 kB / 1.344 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.9464, allocations: 4.031 kB / 1.344 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.9465, allocations: 8.766 kB / 1.344 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.9465, allocations: 1.781 kB / 1.344 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.9465, allocations: 3.938 kB / 1.344 GB, free: 9.902 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.9466, allocations: 92.39 kB / 1.344 GB, free: 9.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.9466, allocations: 0 / 1.344 GB, free: 9.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002224/0.9468, allocations: 5.969 kB / 1.344 GB, free: 9.816 MB / 1.029 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.0005946/0.9474, allocations: 0.7051 MB / 1.345 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.9476, allocations: 40.45 kB / 1.345 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9476, allocations: 0 / 1.345 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.9477, allocations: 24.67 kB / 1.345 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.948, allocations: 2.188 kB / 1.345 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.9484, allocations: 149.5 kB / 1.345 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.9487, allocations: 0.6781 MB / 1.346 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.9487, allocations: 5.094 kB / 1.346 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.9488, allocations: 8.219 kB / 1.346 GB, free: 8.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.9488, allocations: 5.156 kB / 1.346 GB, free: 8.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.9667, allocations: 1.452 MB / 1.347 GB, free: 7.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/9.423, allocations: 9.484 kB / 1.347 GB, free: 7.414 MB / 1.029 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 16.151200380991213]