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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001459/0.001459, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6115/0.613, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00158/0.6146, allocations: 0.5185 MB / 0.9502 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.615, allocations: 188.7 kB / 0.9504 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.615, allocations: 4 kB / 0.9504 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.6151, allocations: 3.984 kB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.6151, allocations: 5.312 kB / 0.9504 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.6155, allocations: 54.89 kB / 0.9505 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.6155, allocations: 13.08 kB / 0.9505 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.6156, allocations: 1.375 kB / 0.9505 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.6156, allocations: 6.922 kB / 0.9505 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.6156, allocations: 5.875 kB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.6156, allocations: 4.719 kB / 0.9505 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.6158, allocations: 128.5 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.6159, allocations: 15.08 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.6159, allocations: 5.438 kB / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.616, allocations: 72.7 kB / 0.9507 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.616, allocations: 1.406 kB / 0.9507 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.616, allocations: 0 / 0.9507 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.616, allocations: 0 / 0.9507 GB, free: 8.465 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.0002374/0.6163, allocations: 340.7 kB / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.6163, allocations: 10.28 kB / 0.951 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.036e-05/0.6164, allocations: 34.69 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.6164, allocations: 7.781 kB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.936e-05/0.6165, allocations: 169.8 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6165, allocations: 1.719 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.6165, allocations: 1.75 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/0.6166, allocations: 37.3 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.6166, allocations: 7.922 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.6166, allocations: 0 / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.6166, allocations: 1.094 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.6167, allocations: 8.75 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.6168, allocations: 165.7 kB / 0.9515 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/0.6168, allocations: 30.28 kB / 0.9515 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.6168, allocations: 14.05 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.6169, allocations: 7.484 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.6169, allocations: 31.62 kB / 0.9515 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.6169, allocations: 0 / 0.9515 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004285/0.6173, allocations: 308.2 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.6174, allocations: 57 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.6174, allocations: 107.7 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-06/0.6174, allocations: 26.92 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.6175, allocations: 81.64 kB / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.6175, allocations: 17.42 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.6175, allocations: 13.75 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.6176, allocations: 320.4 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.6176, allocations: 13.02 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.6176, allocations: 36.45 kB / 0.9525 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.6177, allocations: 35.22 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6177, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.241e-05/0.6178, allocations: 73.42 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6178, allocations: 15.53 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.6178, allocations: 0 / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.6178, allocations: 1.25 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.6179, allocations: 6.156 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.6179, allocations: 0 / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.6179, allocations: 1.125 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.6179, allocations: 2.625 kB / 0.9526 GB, free: 6.473 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 4.836e-05/0.618, allocations: 116.8 kB / 0.9527 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.618, allocations: 5.312 kB / 0.9527 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.6181, allocations: 75.27 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6181, allocations: 0 / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.6181, allocations: 0 / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6181, allocations: 2.156 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.693e-05/0.6182, allocations: 164.4 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6182, allocations: 1.312 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.6182, allocations: 7.547 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6183, allocations: 5 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.6183, allocations: 1.344 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6183, allocations: 4 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6183, allocations: 0 / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.6184, allocations: 108.1 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.6184, allocations: 86.2 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.6184, allocations: 5.25 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.6185, allocations: 3.984 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.6185, allocations: 2.625 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.6185, allocations: 1.469 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.6185, allocations: 93.02 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6186, allocations: 1.5 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.6188, allocations: 15.72 kB / 0.9533 GB, free: 5.793 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.000295/0.6191, allocations: 0.6544 MB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.6192, allocations: 39.67 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6192, allocations: 0 / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.6192, allocations: 23.88 kB / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.6193, allocations: 6.469 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.6201, allocations: 1.24 MB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/0.6202, allocations: 0.6883 MB / 0.9559 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.6202, allocations: 12.11 kB / 0.9559 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.6202, allocations: 12.88 kB / 0.9559 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/0.6202, allocations: 1.562 kB / 0.9559 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.6395, allocations: 1.829 MB / 0.9577 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.303/7.942, allocations: 20.42 kB / 0.9577 GB, free: 2.27 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