Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007538/0.007538, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00162/0.00162, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.682/2.682, allocations: 472.7 MB / 0.7453 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.83 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9776/0.9788, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001676/0.9806, allocations: 0.5017 MB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005394/0.9811, allocations: 197.2 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.9812, allocations: 4 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.9812, allocations: 3.938 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.9812, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.9817, allocations: 63.84 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.9817, allocations: 7.938 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.9818, allocations: 7.984 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.9818, allocations: 0 / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.9818, allocations: 11.94 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.9819, allocations: 0 / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.9821, allocations: 131.8 kB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.9821, allocations: 11.98 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.9822, allocations: 7.938 kB / 1.227 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.9824, allocations: 75.28 kB / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9824, allocations: 0 / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9824, allocations: 0 / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.9824, allocations: 3.938 kB / 1.227 GB, free: 12.53 MB / 0.9512 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.0004136/0.9828, allocations: 340.3 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.9829, allocations: 8.031 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.9829, allocations: 4.938 kB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.983, allocations: 180.3 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.983, allocations: 384 / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.9831, allocations: 4.375 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.9832, allocations: 38.23 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.9832, allocations: 192 / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.9832, allocations: 11.88 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.9832, allocations: 0 / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.9833, allocations: 11.98 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.9834, allocations: 165.6 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.904e-05/0.9835, allocations: 26.58 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.9835, allocations: 8.922 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/0.9836, allocations: 7.984 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.9836, allocations: 30.56 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.9836, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005612/0.9842, allocations: 306.5 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.9842, allocations: 51.41 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.9843, allocations: 113.8 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.9843, allocations: 25.7 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.9844, allocations: 84.14 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.9844, allocations: 11.91 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.9845, allocations: 21.7 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.9846, allocations: 318.8 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.9846, allocations: 12 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.9846, allocations: 25.7 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.9847, allocations: 41.7 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.9847, allocations: 0 / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.089e-05/0.9848, allocations: 65.62 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.9848, allocations: 17.09 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9848, allocations: 0 / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.9848, allocations: 0 / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.9849, allocations: 15.98 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.9849, allocations: 0 / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.9849, allocations: 0 / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.9849, allocations: 4 kB / 1.228 GB, free: 10.34 MB / 0.9512 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.694e-05/0.985, allocations: 106.4 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.985, allocations: 11.89 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.9852, allocations: 77.52 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9852, allocations: 0 / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9852, allocations: 3.938 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9852, allocations: 3.938 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.9853, allocations: 169.7 kB / 1.229 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9853, allocations: 0 / 1.229 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.9854, allocations: 4 kB / 1.229 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.9854, allocations: 3.938 kB / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.9854, allocations: 0 / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9854, allocations: 0 / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9854, allocations: 0 / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.9856, allocations: 113.2 kB / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.9856, allocations: 85.09 kB / 1.229 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.9856, allocations: 7.969 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.9857, allocations: 0 / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.9857, allocations: 0 / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.9857, allocations: 4 kB / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.9858, allocations: 87.27 kB / 1.229 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9858, allocations: 4.062 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002027/0.986, allocations: 19.94 kB / 1.229 GB, free: 9.539 MB / 0.9512 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.000181/0.9862, allocations: 123.2 kB / 1.229 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.752e-05/0.9863, allocations: 35.91 kB / 1.229 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9863, allocations: 0 / 1.229 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.9863, allocations: 16 kB / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.9865, allocations: 4 kB / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.9868, allocations: 141.4 kB / 1.229 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.987, allocations: 0.6807 MB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.9871, allocations: 8 kB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.9871, allocations: 11.42 kB / 1.23 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.9871, allocations: 0 / 1.23 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of Templates: time 0.003137/0.9902, allocations: 0.8873 MB / 1.231 GB, free: 7.582 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches