Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_10_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.001232/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00121/0.00121, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 59.91 kB / 0.8688 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6137, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001922/0.6157, allocations: 0.5934 MB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004526/0.6161, allocations: 195.4 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.6162, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.6162, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.276e-05/0.6163, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.6166, allocations: 43.88 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.6166, allocations: 15.98 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.6167, allocations: 7.984 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.6167, allocations: 4 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.284e-05/0.6167, allocations: 7.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.6168, allocations: 4 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.617, allocations: 135.8 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.617, allocations: 4 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.617, allocations: 7.938 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.6172, allocations: 67.83 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6172, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6172, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6172, allocations: 4 kB / 1.018 GB, free: 1.59 MB / 0.7637 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.0003361/0.6175, allocations: 337.6 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.6176, allocations: 12.03 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.6176, allocations: 30.75 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.6177, allocations: 0.9375 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.6178, allocations: 172.4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.6178, allocations: 384 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.6178, allocations: 8.281 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.6179, allocations: 30.27 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6179, allocations: 19.8 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.618, allocations: 7.984 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.618, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.618, allocations: 8 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.6182, allocations: 161.7 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/0.6182, allocations: 26.56 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.6183, allocations: 8.922 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.6183, allocations: 8 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.6183, allocations: 30.56 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.6183, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.000556/0.6189, allocations: 310.1 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.6189, allocations: 51.41 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.619, allocations: 117.8 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6191, allocations: 29.92 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.6191, allocations: 84.14 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.6191, allocations: 15.88 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.6192, allocations: 17.72 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6193, allocations: 310.8 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.6193, allocations: 15.98 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.6194, allocations: 25.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.6194, allocations: 37.72 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6194, allocations: 3.938 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.6195, allocations: 73.58 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6196, allocations: 11.94 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6196, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.6196, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.6197, allocations: 8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.6197, allocations: 3.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.6197, allocations: 4.062 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.6197, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 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 6.648e-05/0.6198, allocations: 114.4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.6198, allocations: 7.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.6199, allocations: 69.58 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6199, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6199, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6199, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.6201, allocations: 165.7 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6201, allocations: 8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.6201, allocations: 7.984 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6201, allocations: 3.938 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.6201, allocations: 3.938 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6201, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6202, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.6203, allocations: 105.2 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.6203, allocations: 85.11 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.6204, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.6204, allocations: 8.016 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.6204, allocations: 3.984 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.6204, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001001/0.6205, allocations: 91.27 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6205, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001957/0.6207, allocations: 20 kB / 1.021 GB, free: 14.57 MB / 0.7794 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.0004636/0.6212, allocations: 0.6708 MB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.6213, allocations: 31.98 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6213, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.301e-05/0.6214, allocations: 19.92 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.6215, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.6225, allocations: 1.252 MB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.6227, allocations: 0.6846 MB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.6228, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.6228, allocations: 11.44 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of SimCode: time 1.8e-07/0.6228, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6925/1.315, allocations: 1.773 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/1.316, allocations: 225.1 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.565, allocations: 0 / 1.025 GB, free: 9.883 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches