Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001612/0.001612, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001594/0.001594, allocations: 213.9 kB / 22.24 MB, free: 5.258 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.816 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.161/3.161, allocations: 0.49 GB / 0.7951 GB, free: 35.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_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.002911/0.002911, allocations: 61.88 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3402, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00278/0.343, allocations: 1.451 MB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003569/0.3434, allocations: 87.77 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.3434, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.606e-05/0.3435, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.3435, allocations: 11.86 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.3438, allocations: 23.97 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.3438, allocations: 23.92 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.3439, allocations: 4 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.344, allocations: 8 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.344, allocations: 7.922 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.344, allocations: 4 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3441, allocations: 27.91 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.3441, allocations: 8 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.3442, allocations: 7.938 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.3443, allocations: 48.09 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3443, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3443, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.3443, allocations: 0 / 1.328 GB, free: 15.8 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.0004529/0.3448, allocations: 266.3 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3448, allocations: 12.03 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3448, allocations: 30.75 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.3449, allocations: 8.875 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.345, allocations: 106.5 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.345, allocations: 8.375 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.345, allocations: 8.312 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3452, allocations: 54.17 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3452, allocations: 7.922 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.3452, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3452, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.3454, allocations: 35.95 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.3457, allocations: 220.1 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3458, allocations: 46.44 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.3459, allocations: 24.91 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.346, allocations: 11.92 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.346, allocations: 30.56 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.346, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003625/0.3464, allocations: 89.72 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3464, allocations: 55.41 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.3465, allocations: 105.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3465, allocations: 25.7 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3466, allocations: 92.08 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3466, allocations: 3.953 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3466, allocations: 13.72 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3467, allocations: 314.8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.3468, allocations: 19.97 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.3469, allocations: 23.92 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3471, allocations: 44.81 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3471, allocations: 3.938 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.3473, allocations: 61.67 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3473, allocations: 11.98 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3473, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3473, allocations: 4.094 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.3474, allocations: 8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3474, allocations: 4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3474, allocations: 3.984 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3474, allocations: 4 kB / 1.329 GB, free: 13.88 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.758e-05/0.3475, allocations: 114.2 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.3476, allocations: 7.953 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.3478, allocations: 81.52 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3478, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3478, allocations: 4 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3478, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.348, allocations: 132.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.348, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.348, allocations: 11.98 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.348, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3481, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3481, allocations: 3.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3481, allocations: 3.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.3483, allocations: 175.4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.3483, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3483, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.3484, allocations: 7.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3485, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3485, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.3485, allocations: 87.27 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3485, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002295/0.3487, allocations: 12.03 kB / 1.33 GB, free: 13.16 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.0006019/0.3494, allocations: 0.7083 MB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.3496, allocations: 47.95 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3496, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.3497, allocations: 20.08 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.35, allocations: 9.875 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.3504, allocations: 147.1 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.665e-05/0.3505, allocations: 63.28 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.3505, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.3505, allocations: 11.44 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.3505, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.3894, allocations: 1.987 MB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.74, allocations: 8.828 kB / 1.333 GB, free: 10.21 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.43034098899807]