Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001829/0.001829, allocations: 118.2 kB / 17.17 MB, free: 6 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.002242/0.002242, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.014/3.014, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.002196/0.002196, allocations: 67.89 kB / 1.165 GB, free: 448 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.198, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0019/1.199, allocations: 0.5801 MB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/1.2, allocations: 27.88 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/1.2, allocations: 0 / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/1.2, allocations: 0 / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.877e-06/1.2, allocations: 0 / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/1.2, allocations: 15.95 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.955e-05/1.2, allocations: 1.984 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/1.2, allocations: 2.141 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/1.2, allocations: 0 / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.217e-05/1.2, allocations: 6.109 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/1.2, allocations: 0 / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/1.2, allocations: 17.03 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/1.2, allocations: 0 / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/1.2, allocations: 0.5625 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/1.2, allocations: 11.14 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.2, allocations: 1.375 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.083e-06/1.2, allocations: 4.688 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.119e-05/1.2, allocations: 3.938 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002813/1.201, allocations: 319.1 kB / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.201, allocations: 10.52 kB / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.37e-05/1.201, allocations: 192 / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.649e-05/1.201, allocations: 34.69 kB / 1.341 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/1.201, allocations: 2.688 kB / 1.341 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.252e-05/1.201, allocations: 161.5 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.201, allocations: 1.469 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/1.201, allocations: 384 / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.521e-05/1.201, allocations: 33.86 kB / 1.341 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.201, allocations: 7.984 kB / 1.341 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.201, allocations: 1.656 kB / 1.341 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.201, allocations: 0 / 1.341 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/1.201, allocations: 5.188 kB / 1.341 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/1.201, allocations: 149.5 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.288e-05/1.201, allocations: 16.25 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/1.201, allocations: 6.078 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/1.201, allocations: 2.781 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/1.201, allocations: 40.23 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/1.201, allocations: 0 / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/1.201, allocations: 40.59 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/1.201, allocations: 51.97 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.884e-05/1.201, allocations: 90.98 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/1.201, allocations: 25.7 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.188e-05/1.201, allocations: 80.7 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/1.201, allocations: 9.297 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/1.201, allocations: 16.48 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/1.201, allocations: 315.5 kB / 1.342 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/1.202, allocations: 1.031 kB / 1.342 GB, free: 14.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/1.202, allocations: 2.609 kB / 1.342 GB, free: 14.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/1.202, allocations: 7.672 kB / 1.342 GB, free: 14.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.202, allocations: 1.031 kB / 1.342 GB, free: 14.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.895e-05/1.202, allocations: 37.16 kB / 1.342 GB, free: 14.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.202, allocations: 13.53 kB / 1.342 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/1.202, allocations: 3.938 kB / 1.342 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.202, allocations: 1.641 kB / 1.342 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/1.202, allocations: 1.031 kB / 1.342 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/1.202, allocations: 1.922 kB / 1.342 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/1.202, allocations: 0 / 1.342 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/1.202, allocations: 1.938 kB / 1.342 GB, free: 14.21 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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.487e-05/1.202, allocations: 111.8 kB / 1.342 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/1.202, allocations: 4.594 kB / 1.342 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/1.202, allocations: 45.78 kB / 1.342 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.202, allocations: 5.375 kB / 1.342 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.202, allocations: 0 / 1.342 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.202, allocations: 0.5156 kB / 1.342 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.454e-05/1.202, allocations: 148.4 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.202, allocations: 1.156 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/1.202, allocations: 6.672 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.202, allocations: 7.969 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/1.202, allocations: 2.016 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.202, allocations: 0 / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.202, allocations: 0 / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.573e-05/1.202, allocations: 54.05 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/1.202, allocations: 78.91 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/1.202, allocations: 5.797 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/1.202, allocations: 0 / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/1.202, allocations: 5.797 kB / 1.343 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/1.202, allocations: 1.344 kB / 1.343 GB, free: 13.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.399e-05/1.202, allocations: 79.28 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.1e-08/1.202, allocations: 0 / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001961/1.202, allocations: 7.578 kB / 1.343 GB, free: 13.59 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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.0002586/1.203, allocations: 0.5983 MB / 1.343 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.845e-05/1.203, allocations: 4.109 kB / 1.343 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.203, allocations: 1.094 kB / 1.343 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.13e-05/1.203, allocations: 6.859 kB / 1.343 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/1.203, allocations: 1.094 kB / 1.343 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/1.203, allocations: 112.8 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/1.203, allocations: 0.6754 MB / 1.344 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.423e-05/1.203, allocations: 6.094 kB / 1.344 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/1.203, allocations: 9.078 kB / 1.344 GB, free: 12.14 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.203, allocations: 0 / 1.344 GB, free: 12.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/1.221, allocations: 1.065 MB / 1.345 GB, free: 11.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/9.777, allocations: 7.453 kB / 1.345 GB, free: 11.76 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.418274555995595]