Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 189.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.024/2.024, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6227, allocations: 140.3 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001583/0.6243, allocations: 0.5883 MB / 0.9496 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004166/0.6248, allocations: 202.4 kB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.389e-05/0.6248, allocations: 5.188 kB / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.6248, allocations: 0 / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.195e-05/0.6249, allocations: 1.312 kB / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.6252, allocations: 43.53 kB / 0.9498 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.525e-05/0.6252, allocations: 13.17 kB / 0.9499 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.6252, allocations: 1.688 kB / 0.9499 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.6253, allocations: 6.969 kB / 0.9499 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.511e-05/0.6253, allocations: 14.72 kB / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.6253, allocations: 0 / 0.9499 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.6255, allocations: 123.6 kB / 0.95 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.6255, allocations: 5.422 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.6255, allocations: 6.75 kB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.6257, allocations: 71.55 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6257, allocations: 1.938 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.82e-07/0.6257, allocations: 0 / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.796e-06/0.6257, allocations: 0 / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002143/0.6259, allocations: 336.1 kB / 0.9504 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.6259, allocations: 13.89 kB / 0.9504 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.169e-05/0.626, allocations: 30.75 kB / 0.9504 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.626, allocations: 11.34 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.616e-05/0.626, allocations: 161.9 kB / 0.9506 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.6261, allocations: 1.375 kB / 0.9506 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.6261, allocations: 1.594 kB / 0.9506 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.422e-05/0.6262, allocations: 46.62 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6262, allocations: 7.875 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.6262, allocations: 0 / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.6262, allocations: 1.625 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.6262, allocations: 11.67 kB / 0.9507 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.6263, allocations: 170.1 kB / 0.9508 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.6264, allocations: 25.58 kB / 0.9509 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.6264, allocations: 10.45 kB / 0.9509 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.6264, allocations: 8.234 kB / 0.9509 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.08e-05/0.6264, allocations: 30.56 kB / 0.9509 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6264, allocations: 0 / 0.9509 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003975/0.6268, allocations: 309.5 kB / 0.9512 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.6269, allocations: 55.39 kB / 0.9513 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.797e-05/0.6269, allocations: 108.2 kB / 0.9514 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.6269, allocations: 26.92 kB / 0.9514 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.651e-05/0.627, allocations: 81.27 kB / 0.9515 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.627, allocations: 9.094 kB / 0.9515 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.627, allocations: 18.03 kB / 0.9515 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.283e-05/0.627, allocations: 324 kB / 0.9518 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.6271, allocations: 9.75 kB / 0.9518 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.6271, allocations: 28.02 kB / 0.9518 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.6271, allocations: 43.52 kB / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6272, allocations: 3.938 kB / 0.9519 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.958e-05/0.6272, allocations: 70.47 kB / 0.9519 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6273, allocations: 9.438 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.6273, allocations: 0 / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.6273, allocations: 1.375 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.6273, allocations: 5.5 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6273, allocations: 5.312 kB / 0.952 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.6274, allocations: 3.984 kB / 0.952 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.6274, allocations: 2.75 kB / 0.952 GB, free: 6.363 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 3.926e-05/0.6274, allocations: 112.6 kB / 0.9521 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.6274, allocations: 9.375 kB / 0.9521 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.6275, allocations: 67.7 kB / 0.9522 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6275, allocations: 3.938 kB / 0.9522 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.6275, allocations: 0 / 0.9522 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6276, allocations: 1.375 kB / 0.9522 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.359e-05/0.6276, allocations: 166 kB / 0.9523 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6276, allocations: 0 / 0.9523 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.6277, allocations: 4.125 kB / 0.9523 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6277, allocations: 5.312 kB / 0.9523 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.6277, allocations: 11.94 kB / 0.9523 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6277, allocations: 1.375 kB / 0.9523 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6277, allocations: 0 / 0.9523 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.6278, allocations: 103.5 kB / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.6278, allocations: 86.41 kB / 0.9525 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.6279, allocations: 1.375 kB / 0.9525 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.6279, allocations: 0 / 0.9525 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.6279, allocations: 1.609 kB / 0.9525 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6279, allocations: 5.438 kB / 0.9525 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.628, allocations: 90.14 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.628, allocations: 1.375 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001999/0.6282, allocations: 16.12 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002993/0.6285, allocations: 0.6732 MB / 0.9533 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.6286, allocations: 35.27 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6286, allocations: 1.25 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.6286, allocations: 15.16 kB / 0.9533 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.6287, allocations: 12.09 kB / 0.9534 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.6294, allocations: 1.244 MB / 0.9546 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.6295, allocations: 0.6813 MB / 0.9552 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.6295, allocations: 11.52 kB / 0.9552 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.6295, allocations: 14.12 kB / 0.9553 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6295, allocations: 0 / 0.9553 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9386/1.568, allocations: 1.723 MB / 0.9569 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.568, allocations: 218 kB / 0.9571 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/3.564, allocations: 4 kB / 0.9572 GB, free: 2.043 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches