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.004238/0.004238, allocations: 96.72 kB / 15.73 MB, free: 6.059 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.001103/0.001104, allocations: 196.8 kB / 16.68 MB, free: 5.98 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.565/2.565, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2753, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002232/0.2776, allocations: 0.5172 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.2783, allocations: 199.8 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.2783, allocations: 0 / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.2784, allocations: 3.938 kB / 1.167 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.2785, allocations: 3.938 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.279, allocations: 63.78 kB / 1.167 GB, free: 6.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.2791, allocations: 8 kB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.2791, allocations: 4 kB / 1.167 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.2792, allocations: 7.969 kB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.2792, allocations: 4 kB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2792, allocations: 7.938 kB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.2795, allocations: 127.8 kB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.2795, allocations: 11.94 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.2796, allocations: 7.922 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.2798, allocations: 72.06 kB / 1.167 GB, free: 6.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2798, allocations: 3.984 kB / 1.167 GB, free: 6.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2798, allocations: 0 / 1.167 GB, free: 6.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2798, allocations: 0 / 1.167 GB, free: 6.258 MB / 0.92 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.0004064/0.2802, allocations: 343.3 kB / 1.167 GB, free: 5.871 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2803, allocations: 8.031 kB / 1.167 GB, free: 5.863 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.2803, allocations: 34.75 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.2803, allocations: 4.938 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2805, allocations: 164.3 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2805, allocations: 4.375 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.2805, allocations: 4.375 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.2807, allocations: 42.25 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2807, allocations: 3.938 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2807, allocations: 3.938 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2807, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.2807, allocations: 15.98 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.2809, allocations: 161.6 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.698e-05/0.281, allocations: 26.61 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.281, allocations: 8.922 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2811, allocations: 11.97 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.2811, allocations: 34.56 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2811, allocations: 4 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005375/0.2817, allocations: 302.2 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.2817, allocations: 51.41 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.2818, allocations: 109.8 kB / 1.168 GB, free: 4.699 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2818, allocations: 25.7 kB / 1.168 GB, free: 4.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.2819, allocations: 92.08 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.2819, allocations: 16.05 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2819, allocations: 25.7 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.282, allocations: 310.8 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.2821, allocations: 12 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.2821, allocations: 25.7 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.2822, allocations: 41.7 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2822, allocations: 4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.183e-05/0.2823, allocations: 65.62 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2823, allocations: 7.938 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2823, allocations: 0 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2823, allocations: 4 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.2824, allocations: 7.984 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2824, allocations: 0 / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.2824, allocations: 3.938 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.2824, allocations: 4 kB / 1.169 GB, free: 4.023 MB / 0.92 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 7.021e-05/0.2825, allocations: 117.9 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.2825, allocations: 7.891 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.2827, allocations: 65.58 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2827, allocations: 4 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2827, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2827, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2828, allocations: 165.7 kB / 1.169 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2829, allocations: 0 / 1.169 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.2829, allocations: 4 kB / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2829, allocations: 7.938 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2829, allocations: 8 kB / 1.169 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2829, allocations: 3.938 kB / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2829, allocations: 4 kB / 1.169 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.2831, allocations: 101.1 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.2831, allocations: 89.03 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2832, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.2832, allocations: 3.938 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.2832, allocations: 8.062 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2833, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.2833, allocations: 91.27 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2833, allocations: 3.938 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000214/0.2835, allocations: 16 kB / 1.17 GB, free: 3.227 MB / 0.92 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.0004229/0.284, allocations: 0.6634 MB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.2841, allocations: 27.98 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2841, allocations: 4 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.2841, allocations: 23.91 kB / 1.17 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.2842, allocations: 4 kB / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009429/0.2852, allocations: 1.246 MB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2854, allocations: 0.6807 MB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.2854, allocations: 8 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.2855, allocations: 15.42 kB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.2855, allocations: 0 / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.3034, allocations: 1.876 MB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.661, allocations: 7.578 kB / 1.174 GB, free: 14.67 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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