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.001907/0.001907, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002365/0.002365, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8 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.185/3.185, allocations: 0.49 GB / 0.7951 GB, free: 33.32 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.002144/0.002144, allocations: 63.19 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3443, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001857/0.3461, allocations: 0.5868 MB / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000232/0.3464, allocations: 31.88 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.202e-05/0.3464, allocations: 0 / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.3464, allocations: 0 / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.3464, allocations: 0 / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3467, allocations: 19.98 kB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.24e-05/0.3467, allocations: 0 / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.3468, allocations: 416 / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.3468, allocations: 7.984 kB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.467e-05/0.3468, allocations: 0 / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-06/0.3468, allocations: 0 / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3469, allocations: 27.91 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.3469, allocations: 0 / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.3469, allocations: 0 / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.347, allocations: 20.19 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.347, allocations: 0 / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.347, allocations: 4 kB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.347, allocations: 0 / 1.327 GB, free: 1.164 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.000304/0.3473, allocations: 240 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3474, allocations: 12.03 kB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.715e-05/0.3475, allocations: 34.73 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.3475, allocations: 0.9375 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.3476, allocations: 102.5 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3476, allocations: 4.312 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-06/0.3476, allocations: 384 / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.953e-05/0.3477, allocations: 42.2 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3477, allocations: 7.922 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3477, allocations: 4 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3477, allocations: 0 / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.3477, allocations: 4 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.348, allocations: 116.8 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.348, allocations: 14.58 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.3481, allocations: 12.95 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.3481, allocations: 0 / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3481, allocations: 38.5 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3481, allocations: 0 / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.3483, allocations: 41.62 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3483, allocations: 51.41 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.3483, allocations: 89.86 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3484, allocations: 25.7 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3485, allocations: 88.25 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3485, allocations: 3.953 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.3486, allocations: 17.72 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.3488, allocations: 310.8 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.3489, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-06/0.3489, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.3489, allocations: 8.797 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3489, allocations: 8.062 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001224/0.349, allocations: 37.62 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.349, allocations: 4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.349, allocations: 3.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3491, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.3491, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3491, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.3491, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3491, allocations: 8 kB / 1.328 GB, free: 15.66 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 (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.862e-05/0.3492, allocations: 119 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.3492, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.3493, allocations: 44.58 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3493, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3493, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3493, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3495, allocations: 120.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3495, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.3495, allocations: 8.031 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3495, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3495, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3495, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3495, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.094e-05/0.3496, allocations: 65.06 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.3497, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3497, allocations: 7.969 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.257e-05/0.3497, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.3498, allocations: 75.28 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3498, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002108/0.35, allocations: 7.938 kB / 1.328 GB, free: 15.12 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 (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.0004995/0.3505, allocations: 0.6007 MB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.885e-05/0.3505, allocations: 7.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3505, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.642e-06/0.3506, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3507, allocations: 1.719 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.351, allocations: 110.7 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.3513, allocations: 0.6807 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.3513, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.3514, allocations: 7.438 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3514, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/0.407, allocations: 1.132 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 3.875 kB / 1.331 GB, free: 12.61 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.710704694036394]