Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001683/0.001683, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001494/0.001494, allocations: 217.4 kB / 23.04 MB, free: 5.074 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.769/2.769, allocations: 476.8 MB / 0.7715 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_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.002042/0.002042, allocations: 66.52 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 169.9 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002981/0.3489, allocations: 1.469 MB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003299/0.3492, allocations: 99.72 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.3493, allocations: 0 / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.914e-05/0.3493, allocations: 4 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.106e-05/0.3494, allocations: 7.938 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.3496, allocations: 15.92 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.3497, allocations: 31.86 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.3498, allocations: 3.984 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.3498, allocations: 11.98 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.3499, allocations: 15.92 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3499, allocations: 4 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.35, allocations: 19.97 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.35, allocations: 4 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.3501, allocations: 11.94 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.3502, allocations: 43.41 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3502, allocations: 0 / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3502, allocations: 0 / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3502, allocations: 0 / 1.286 GB, free: 9.996 MB / 0.9825 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.0004829/0.3507, allocations: 266.3 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3507, allocations: 8.031 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/0.3507, allocations: 4.188 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.3508, allocations: 34.73 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3508, allocations: 12.83 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.351, allocations: 110.5 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.351, allocations: 384 / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.351, allocations: 384 / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3512, allocations: 61.92 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3512, allocations: 0 / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3512, allocations: 4 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3512, allocations: 0 / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3514, allocations: 39.95 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.3518, allocations: 231.8 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.352, allocations: 42.55 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3521, allocations: 24.91 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.3521, allocations: 0 / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3521, allocations: 38.55 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3521, allocations: 4 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004153/0.3525, allocations: 89.53 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3526, allocations: 55.41 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3527, allocations: 105.9 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3527, allocations: 29.83 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.3528, allocations: 88.12 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.3528, allocations: 3.953 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.3528, allocations: 13.72 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.353, allocations: 314.8 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.3531, allocations: 19.97 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.3532, allocations: 19.98 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3533, allocations: 44.83 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3533, allocations: 3.984 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.3535, allocations: 65.61 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3535, allocations: 8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3536, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3536, allocations: 4.031 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.3537, allocations: 15.98 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3537, allocations: 0 / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.3537, allocations: 7.984 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.3537, allocations: 0 / 1.288 GB, free: 8.062 MB / 0.9825 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 0.0001003/0.3538, allocations: 109.8 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3539, allocations: 7.953 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.3541, allocations: 85.2 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3541, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3541, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3541, allocations: 3.938 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.3543, allocations: 132.7 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3543, allocations: 0 / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.3544, allocations: 11.98 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3544, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3544, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3544, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3544, allocations: 4.031 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.3546, allocations: 167.5 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.3546, allocations: 3.984 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3547, allocations: 8.234 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.3547, allocations: 3.938 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3548, allocations: 20.02 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3548, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.3548, allocations: 83.22 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3548, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002349/0.3551, allocations: 12 kB / 1.288 GB, free: 7.348 MB / 0.9825 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.0006989/0.3558, allocations: 0.7084 MB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.356, allocations: 35.97 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.356, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.3561, allocations: 27.91 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3564, allocations: 8.156 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.3569, allocations: 151.1 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3573, allocations: 0.6768 MB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.3573, allocations: 4 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.3574, allocations: 11.44 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3574, allocations: 0 / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.3812, allocations: 1.573 MB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 10.5 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.507217439997476]