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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001333/0.001333, allocations: 100.1 kB / 15.88 MB, free: 12 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.001254/0.001254, allocations: 200 kB / 16.79 MB, free: 6.809 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.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.58 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002038/0.3085, allocations: 0.5784 MB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005661/0.3091, allocations: 207.4 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.3091, allocations: 0 / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.3091, allocations: 0 / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.3092, allocations: 7.938 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.3096, allocations: 39.94 kB / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.3097, allocations: 15.92 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.3098, allocations: 3.984 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.3098, allocations: 11.94 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.464e-05/0.3098, allocations: 4 kB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.3098, allocations: 0 / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.3101, allocations: 123.8 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.3101, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.3102, allocations: 7.938 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3103, allocations: 43.92 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3103, allocations: 0 / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3104, allocations: 7.938 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3104, allocations: 3.938 kB / 1.054 GB, free: 7.289 MB / 0.8106 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.0004045/0.3108, allocations: 343.6 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3108, allocations: 12.03 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3109, allocations: 4.922 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.311, allocations: 176.2 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.311, allocations: 384 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3111, allocations: 8.359 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3112, allocations: 38.25 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3112, allocations: 192 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3112, allocations: 3.938 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3112, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/0.3112, allocations: 16 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.3114, allocations: 157.7 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.3115, allocations: 34.5 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.3115, allocations: 8.922 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.3116, allocations: 4 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3116, allocations: 34.56 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3116, allocations: 4 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006127/0.3122, allocations: 302.2 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3123, allocations: 51.41 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.3124, allocations: 105.8 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3124, allocations: 29.7 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.3124, allocations: 88.12 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3125, allocations: 8.125 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3125, allocations: 17.72 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3126, allocations: 318.8 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.3127, allocations: 8 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/0.3127, allocations: 33.64 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.3128, allocations: 37.7 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3128, allocations: 4 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001575/0.3129, allocations: 69.53 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.313, allocations: 13.12 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.313, allocations: 4 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.313, allocations: 0 / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.313, allocations: 4 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3131, allocations: 4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.3131, allocations: 4 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3131, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 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 8.055e-05/0.3132, allocations: 121.8 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.3132, allocations: 3.938 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.3134, allocations: 77.52 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3134, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3134, allocations: 3.938 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3134, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3135, allocations: 165.7 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3135, allocations: 3.984 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.3136, allocations: 8 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3136, allocations: 7.938 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3136, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3136, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3136, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3138, allocations: 113.2 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.3138, allocations: 77.11 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3138, allocations: 7.922 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-05/0.3139, allocations: 64 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.3139, allocations: 8.031 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.3139, allocations: 4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.314, allocations: 91.27 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.314, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002199/0.3142, allocations: 20 kB / 1.056 GB, free: 4.297 MB / 0.8106 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.0001875/0.3144, allocations: 111.2 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.965e-05/0.3145, allocations: 31.98 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3145, allocations: 4.125 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.3145, allocations: 19.92 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3147, allocations: 4 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.315, allocations: 176.8 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3154, allocations: 0.6809 MB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.3154, allocations: 7.438 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of SimCode: time 9.11e-07/0.3154, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of Templates: time 0.002623/0.3181, allocations: 0.847 MB / 1.058 GB, free: 2.355 MB / 0.8106 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches