Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.88 kB / 1.056 GB, free: 2.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3477, allocations: 160.7 MB / 1.213 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002791/0.3505, allocations: 1.431 MB / 1.214 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003031/0.3508, allocations: 92.62 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.3508, allocations: 4 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.3509, allocations: 3.938 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.3509, allocations: 11.77 kB / 1.214 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3512, allocations: 15.98 kB / 1.214 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.3512, allocations: 27.92 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.3513, allocations: 0 / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.3514, allocations: 11.98 kB / 1.214 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.3514, allocations: 19.91 kB / 1.214 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3514, allocations: 0 / 1.214 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.3515, allocations: 19.98 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.3515, allocations: 7.938 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.3516, allocations: 15.92 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3517, allocations: 36.06 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3517, allocations: 4 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.717e-06/0.3517, allocations: 3.984 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3517, allocations: 0 / 1.215 GB, free: 15.72 MB / 0.9669 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.0004918/0.3522, allocations: 347.3 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3522, allocations: 8.031 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.3523, allocations: 30.75 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.3523, allocations: 8.875 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3524, allocations: 176.4 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3524, allocations: 384 / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.3524, allocations: 384 / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3526, allocations: 54.23 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3526, allocations: 3.938 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.3526, allocations: 0 / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3526, allocations: 0 / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.3528, allocations: 43.89 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.3532, allocations: 256.9 kB / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3533, allocations: 38.5 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.3534, allocations: 28.89 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3534, allocations: 4 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3535, allocations: 34.5 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3535, allocations: 4 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.3538, allocations: 81.64 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3539, allocations: 55.41 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.354, allocations: 110 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.354, allocations: 25.7 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.3541, allocations: 84.14 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3541, allocations: 7.891 kB / 1.216 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3541, allocations: 17.72 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3543, allocations: 314.8 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3544, allocations: 19.98 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3545, allocations: 19.98 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3547, allocations: 44.75 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3547, allocations: 3.938 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001959/0.3549, allocations: 69.66 kB / 1.216 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3549, allocations: 8 kB / 1.216 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3549, allocations: 96 / 1.216 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3549, allocations: 4 kB / 1.216 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.355, allocations: 11.98 kB / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.355, allocations: 0 / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.3551, allocations: 11.89 kB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3551, allocations: 0 / 1.216 GB, free: 13.59 MB / 0.9669 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.431e-05/0.3552, allocations: 113.8 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.3552, allocations: 7.938 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.3554, allocations: 81.12 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3554, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3554, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3554, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.3556, allocations: 165.6 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3556, allocations: 256 / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.3557, allocations: 19.97 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3557, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3557, allocations: 4 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3557, allocations: 4.031 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3557, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3559, allocations: 167.4 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.356, allocations: 81.06 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.356, allocations: 0 / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.3561, allocations: 16.02 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3561, allocations: 4 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3561, allocations: 0 / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.3561, allocations: 87.27 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3561, allocations: 0 / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002254/0.3564, allocations: 8 kB / 1.217 GB, free: 12.75 MB / 0.9669 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.0006283/0.357, allocations: 0.7007 MB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3572, allocations: 43.89 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3572, allocations: 0 / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.3573, allocations: 19.98 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3576, allocations: 4.156 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.3581, allocations: 147 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.3585, allocations: 0.6768 MB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.3585, allocations: 0 / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3585, allocations: 15.44 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3585, allocations: 0 / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3833, allocations: 1.432 MB / 1.22 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.753, allocations: 16.86 kB / 1.22 GB, free: 9.68 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.852681443095207]