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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00162/0.00162, allocations: 110.4 kB / 16.27 MB, free: 6.352 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.001582/0.001582, allocations: 190.2 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 60.05 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.29, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002155/0.2922, allocations: 0.5216 MB / 0.9508 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.2928, allocations: 187.4 kB / 0.9509 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.2929, allocations: 0 / 0.9509 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.2929, allocations: 0 / 0.9509 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.293, allocations: 7.938 kB / 0.951 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.2935, allocations: 59.84 kB / 0.951 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.2936, allocations: 15.92 kB / 0.951 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.2936, allocations: 0 / 0.951 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.2936, allocations: 11.94 kB / 0.951 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.085e-05/0.2937, allocations: 7.938 kB / 0.951 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2937, allocations: 4 kB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.294, allocations: 131.8 kB / 0.9512 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.294, allocations: 0 / 0.9512 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.294, allocations: 11.94 kB / 0.9512 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.2942, allocations: 67.83 kB / 0.9513 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2942, allocations: 0 / 0.9513 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2942, allocations: 0 / 0.9513 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2943, allocations: 0 / 0.9513 GB, free: 7.859 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.0004027/0.2947, allocations: 351.5 kB / 0.9516 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2947, allocations: 12.03 kB / 0.9516 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2948, allocations: 0.9375 kB / 0.9516 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2949, allocations: 176.4 kB / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2949, allocations: 384 / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.295, allocations: 8.266 kB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2951, allocations: 34.27 kB / 0.9518 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2951, allocations: 192 / 0.9518 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2951, allocations: 3.938 kB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2951, allocations: 0 / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.2952, allocations: 15.98 kB / 0.9518 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.2954, allocations: 165.7 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.378e-05/0.2954, allocations: 22.52 kB / 0.952 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.2955, allocations: 16.91 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.2955, allocations: 4 kB / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2955, allocations: 34.5 kB / 0.9521 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2955, allocations: 4 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0006378/0.2962, allocations: 302.2 kB / 0.9524 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2962, allocations: 51.41 kB / 0.9524 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2964, allocations: 105.8 kB / 0.9525 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2964, allocations: 25.7 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.2965, allocations: 88.14 kB / 0.9526 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2965, allocations: 14.22 kB / 0.9526 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.2966, allocations: 17.72 kB / 0.9526 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2967, allocations: 314.8 kB / 0.9529 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.2967, allocations: 15.98 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.2967, allocations: 25.66 kB / 0.953 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.2968, allocations: 37.7 kB / 0.953 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2969, allocations: 4 kB / 0.953 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001058/0.297, allocations: 73.53 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.297, allocations: 7.938 kB / 0.9531 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.297, allocations: 7.984 kB / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.297, allocations: 3.938 kB / 0.9531 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.2971, allocations: 8 kB / 0.9531 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2971, allocations: 0 / 0.9531 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.2971, allocations: 4 kB / 0.9531 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2971, allocations: 0 / 0.9531 GB, free: 5.664 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.819e-05/0.2972, allocations: 119.8 kB / 0.9532 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.2972, allocations: 3.938 kB / 0.9532 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.2974, allocations: 77.52 kB / 0.9533 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2974, allocations: 0 / 0.9533 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2974, allocations: 3.984 kB / 0.9533 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2974, allocations: 0 / 0.9533 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2976, allocations: 161.7 kB / 0.9535 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2976, allocations: 0 / 0.9535 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.2976, allocations: 4 kB / 0.9535 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2976, allocations: 11.94 kB / 0.9535 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2977, allocations: 3.984 kB / 0.9535 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/0.2977, allocations: 0 / 0.9535 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2977, allocations: 3.938 kB / 0.9535 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2978, allocations: 113.2 kB / 0.9536 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.2979, allocations: 77.11 kB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.2979, allocations: 3.938 kB / 0.9537 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.298, allocations: 64 / 0.9537 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.298, allocations: 12.02 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.298, allocations: 0 / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.2981, allocations: 87.28 kB / 0.9538 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2981, allocations: 0 / 0.9538 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002225/0.2983, allocations: 19.98 kB / 0.9538 GB, free: 4.867 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.0001864/0.2985, allocations: 123.2 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.2986, allocations: 31.92 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2986, allocations: 4.125 kB / 0.9539 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.2986, allocations: 16 kB / 0.954 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.2988, allocations: 5.016 kB / 0.954 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.2991, allocations: 159.2 kB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2994, allocations: 0.6883 MB / 0.9548 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.2995, allocations: 11.44 kB / 0.9548 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.2995, allocations: 0 / 0.9548 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.002826/0.3023, allocations: 0.8589 MB / 0.9556 GB, free: 2.914 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 -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