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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001261/0.001261, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437.7 MB / 0.7117 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 8 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/0.5758, allocations: 153.8 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005817/0.5764, allocations: 256.5 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.5769, allocations: 179.5 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.5769, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.577, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.577, allocations: 3.984 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.5773, allocations: 47.88 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.5774, allocations: 15.98 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.5774, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.5775, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.5775, allocations: 3.938 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.5775, allocations: 4 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.5778, allocations: 119.8 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.5778, allocations: 7.938 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.5778, allocations: 25.7 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.578, allocations: 47.92 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.578, allocations: 4 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.578, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.578, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.7794 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.0003421/0.5783, allocations: 333.3 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5784, allocations: 8.562 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.5784, allocations: 7.906 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.5786, allocations: 159.1 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5786, allocations: 7.938 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.5786, allocations: 0 / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.5788, allocations: 53.58 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.5788, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5788, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5788, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.5788, allocations: 11.98 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.579, allocations: 157.7 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.5791, allocations: 22.61 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.5791, allocations: 12.91 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.5792, allocations: 11.98 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.5792, allocations: 46.45 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5792, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005381/0.5797, allocations: 294.2 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5798, allocations: 51.41 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.5799, allocations: 118 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5799, allocations: 29.7 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.5799, allocations: 80.14 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.58, allocations: 15.81 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.58, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5801, allocations: 314.8 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.5801, allocations: 12 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.5802, allocations: 25.7 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.5802, allocations: 16 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5802, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.5803, allocations: 73.61 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5803, allocations: 7.953 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5803, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5804, allocations: 4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.5804, allocations: 4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5804, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.5805, allocations: 4.062 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5805, allocations: 4 kB / 1.025 GB, free: 13.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.5805, allocations: 113.8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.5806, allocations: 7.984 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.5807, allocations: 89.77 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5807, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5807, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5807, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.5809, allocations: 161.7 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5809, allocations: 4 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.5809, allocations: 7.984 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5809, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.5809, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.5809, allocations: 7.938 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.581, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.5811, allocations: 101 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.5811, allocations: 85.05 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.5812, allocations: 4.062 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.5812, allocations: 3.984 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.5812, allocations: 7.953 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.5813, allocations: 4 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.5813, allocations: 87.27 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.5813, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002163/0.5815, allocations: 20 kB / 1.026 GB, free: 12.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.5817, allocations: 119.2 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.5818, allocations: 35.92 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5818, allocations: 3.938 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.5818, allocations: 19.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.582, allocations: 3.938 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.5822, allocations: 136.9 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.5825, allocations: 0.6848 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.5825, allocations: 8.125 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.5826, allocations: 7.438 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.5826, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.003026/0.5856, allocations: 0.8585 MB / 1.027 GB, free: 10.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (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 & ./Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches