Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001634/0.001635, allocations: 102.1 kB / 16.35 MB, free: 5.828 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.001979/0.001979, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 69.16 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001671/0.2898, allocations: 0.5178 MB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.2903, allocations: 195.3 kB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.2903, allocations: 0 / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.2904, allocations: 0 / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.2904, allocations: 7.938 kB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.2908, allocations: 67.84 kB / 0.9519 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.2909, allocations: 7.984 kB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.2909, allocations: 3.938 kB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.2909, allocations: 8 kB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.473e-05/0.291, allocations: 3.938 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.291, allocations: 4 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.2912, allocations: 127.8 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.2912, allocations: 3.984 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.2913, allocations: 11.94 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.2914, allocations: 67.83 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2914, allocations: 0 / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.165e-06/0.2914, allocations: 8 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2914, allocations: 0 / 0.9521 GB, free: 7.047 MB / 0.7325 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.0003401/0.2918, allocations: 343.3 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2918, allocations: 12.03 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.2919, allocations: 0.9375 kB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.292, allocations: 168.4 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.292, allocations: 384 / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.292, allocations: 8.266 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2922, allocations: 38.27 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2922, allocations: 192 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2922, allocations: 3.938 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2922, allocations: 3.938 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.2922, allocations: 19.98 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.2924, allocations: 161.7 kB / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.2925, allocations: 26.52 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.2925, allocations: 12.91 kB / 0.9529 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.2925, allocations: 12 kB / 0.9529 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2926, allocations: 34.56 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.2926, allocations: 0 / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004997/0.2931, allocations: 302.2 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2931, allocations: 51.41 kB / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.2932, allocations: 106.1 kB / 0.9534 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2932, allocations: 33.7 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2933, allocations: 84.14 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2933, allocations: 3.906 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.2933, allocations: 21.7 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2934, allocations: 318.8 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.2935, allocations: 11.98 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.2935, allocations: 25.66 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.2936, allocations: 41.7 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2936, allocations: 0 / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.799e-05/0.2937, allocations: 73.53 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2937, allocations: 7.938 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2937, allocations: 4 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2937, allocations: 3.984 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.2938, allocations: 4 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2938, allocations: 8.062 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.2938, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2938, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7325 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.018e-05/0.2939, allocations: 113.8 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.2939, allocations: 7.938 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.2941, allocations: 77.81 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2941, allocations: 0 / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2941, allocations: 0 / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2941, allocations: 3.984 kB / 0.9542 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.2942, allocations: 165.9 kB / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2942, allocations: 0 / 0.9543 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.2943, allocations: 8 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2943, allocations: 7.922 kB / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2943, allocations: 0 / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2943, allocations: 3.984 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2943, allocations: 0 / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.2945, allocations: 111.1 kB / 0.9544 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.2945, allocations: 89.05 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.2945, allocations: 3.938 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.2946, allocations: 8.031 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.2946, allocations: 3.984 kB / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.2946, allocations: 4 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.2947, allocations: 83.28 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2947, allocations: 0 / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002062/0.2949, allocations: 19.98 kB / 0.9547 GB, free: 4.055 MB / 0.7325 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.0001726/0.2951, allocations: 123.2 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.265e-05/0.2952, allocations: 31.92 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2952, allocations: 4 kB / 0.9548 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.2952, allocations: 12 kB / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.2953, allocations: 10 kB / 0.9548 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.2956, allocations: 129.5 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.2958, allocations: 0.6883 MB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.2959, allocations: 8.125 kB / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.2959, allocations: 7.438 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2959, allocations: 0 / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of Templates: time 0.003067/0.299, allocations: 0.8826 MB / 0.9565 GB, free: 2.105 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches