Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001263/0.001263, allocations: 102 kB / 16.45 MB, free: 6.449 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.001321/0.001321, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.241/3.241, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",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.002058/0.002058, allocations: 72.52 kB / 1.149 GB, free: 26.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3794, allocations: 176.1 MB / 1.321 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001846/0.3813, allocations: 0.5942 MB / 1.321 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002342/0.3815, allocations: 31.88 kB / 1.321 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.3815, allocations: 0 / 1.321 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.3815, allocations: 0 / 1.321 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.3815, allocations: 0 / 1.321 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.3818, allocations: 23.97 kB / 1.321 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.143e-05/0.3819, allocations: 0 / 1.321 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.3819, allocations: 0 / 1.321 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.3819, allocations: 0 / 1.321 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.382, allocations: 4 kB / 1.321 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.382, allocations: 0 / 1.321 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.3821, allocations: 27.86 kB / 1.322 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3821, allocations: 3.984 kB / 1.322 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.3821, allocations: 0 / 1.322 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.097e-05/0.3822, allocations: 15.97 kB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3822, allocations: 0 / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3822, allocations: 3.938 kB / 1.322 GB, free: 2.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3822, allocations: 4 kB / 1.322 GB, free: 2.477 MB / 1.014 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.0004116/0.3826, allocations: 319.8 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3827, allocations: 11.98 kB / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.3827, allocations: 30.75 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.3827, allocations: 4.938 kB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3829, allocations: 160.4 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3829, allocations: 384 / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-06/0.3829, allocations: 384 / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.351e-05/0.383, allocations: 30.27 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.383, allocations: 7.875 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.383, allocations: 4 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.383, allocations: 0 / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.383, allocations: 3.984 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.3832, allocations: 145.7 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/0.3832, allocations: 18.61 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.3833, allocations: 4.859 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.3833, allocations: 8.062 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3833, allocations: 30.56 kB / 1.322 GB, free: 1.539 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3833, allocations: 0 / 1.322 GB, free: 1.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.3835, allocations: 49.55 kB / 1.322 GB, free: 1.484 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3835, allocations: 51.41 kB / 1.322 GB, free: 1.422 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.3836, allocations: 89.86 kB / 1.322 GB, free: 1.324 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3836, allocations: 29.7 kB / 1.322 GB, free: 1.289 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.3837, allocations: 84.27 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.3837, allocations: 3.953 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.3837, allocations: 9.719 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3839, allocations: 314.8 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.3839, allocations: 416 / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.3839, allocations: 3.984 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.738e-05/0.3839, allocations: 16.8 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3839, allocations: 0 / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.684e-05/0.384, allocations: 33.77 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.384, allocations: 8 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.384, allocations: 3.938 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.384, allocations: 3.938 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.3841, allocations: 0 / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3841, allocations: 7.938 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.3841, allocations: 3.984 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3841, allocations: 0 / 1.323 GB, free: 0.7773 MB / 1.014 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 7.83e-05/0.3842, allocations: 105.8 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-06/0.3842, allocations: 4.031 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3843, allocations: 56.69 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3843, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3843, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3843, allocations: 0 / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.3845, allocations: 145.7 kB / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3845, allocations: 0 / 1.323 GB, free: 416 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.3845, allocations: 4.031 kB / 1.323 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3845, allocations: 0 / 1.323 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3845, allocations: 3.938 kB / 1.323 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3845, allocations: 7.984 kB / 1.323 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3845, allocations: 0 / 1.323 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.458e-05/0.3846, allocations: 57.08 kB / 1.323 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.3846, allocations: 77.11 kB / 1.323 GB, free: 228 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3847, allocations: 7.938 kB / 1.323 GB, free: 220 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.3847, allocations: 4.031 kB / 1.323 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.3847, allocations: 3.984 kB / 1.323 GB, free: 212 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3847, allocations: 0 / 1.323 GB, free: 212 kB / 1.014 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.3847, allocations: 75.28 kB / 1.323 GB, free: 136 kB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3847, allocations: 0 / 1.323 GB, free: 136 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002116/0.3849, allocations: 11.94 kB / 1.324 GB, free: 124 kB / 1.014 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.000537/0.3855, allocations: 0.6046 MB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.3856, allocations: 11.94 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3856, allocations: 0 / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.3856, allocations: 0 / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3857, allocations: 4 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.3861, allocations: 110.5 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3864, allocations: 0.6769 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.3865, allocations: 3.938 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.3865, allocations: 7.438 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3865, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.4108, allocations: 1.039 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.568, allocations: 4.641 kB / 1.326 GB, free: 13.66 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.236226896988228]