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.001475/0.001475, allocations: 112.6 kB / 16.37 MB, free: 6 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.002044/0.002044, allocations: 196 kB / 17.31 MB, free: 5.613 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.18 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.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 63.34 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3217, 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.00176/0.3234, allocations: 0.5258 MB / 0.9516 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000476/0.3239, allocations: 191.4 kB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.324, allocations: 0 / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.324, allocations: 0 / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.3241, allocations: 11.94 kB / 0.9518 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.3244, allocations: 55.84 kB / 0.9519 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.3245, allocations: 15.92 kB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3246, allocations: 4 kB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.3246, allocations: 7.938 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.364e-05/0.3246, allocations: 7.984 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.3246, allocations: 0 / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.3248, allocations: 127.8 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.3249, allocations: 11.97 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.3249, allocations: 7.938 kB / 0.9521 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.325, allocations: 67.83 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.325, allocations: 3.938 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3251, allocations: 0 / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3251, allocations: 0 / 0.9521 GB, free: 7.039 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.0003357/0.3254, allocations: 347.3 kB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3255, allocations: 12.03 kB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3255, allocations: 0.9375 kB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3256, allocations: 164.4 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3256, allocations: 384 / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3257, allocations: 12.2 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.932e-05/0.3258, allocations: 38.27 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3258, allocations: 192 / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3258, allocations: 3.938 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3258, allocations: 0 / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.3258, allocations: 15.98 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.326, allocations: 161.6 kB / 0.9528 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/0.3261, allocations: 22.61 kB / 0.9529 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.3261, allocations: 16.91 kB / 0.9529 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.3261, allocations: 8 kB / 0.9529 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3262, allocations: 34.56 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3262, allocations: 4 kB / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005636/0.3268, allocations: 294.2 kB / 0.9532 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.3268, allocations: 55.41 kB / 0.9533 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.3269, allocations: 105.8 kB / 0.9534 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3269, allocations: 29.7 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.327, allocations: 84.14 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.327, allocations: 8.125 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.327, allocations: 25.64 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3272, allocations: 318.8 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.3272, allocations: 15.92 kB / 0.9538 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.3272, allocations: 21.72 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.3273, allocations: 41.7 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3273, allocations: 4 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.343e-05/0.3274, allocations: 69.53 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3274, allocations: 7.938 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3274, allocations: 0 / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3275, allocations: 7.984 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.3275, allocations: 8 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3275, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.3276, allocations: 4 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3276, allocations: 0 / 0.954 GB, free: 4.855 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.329e-05/0.3276, allocations: 121.8 kB / 0.9541 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.3277, allocations: 4.078 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.3278, allocations: 81.44 kB / 0.9542 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3278, allocations: 0 / 0.9542 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3278, allocations: 0 / 0.9542 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3278, allocations: 3.984 kB / 0.9542 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.328, allocations: 161.7 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.328, allocations: 0 / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.328, allocations: 4 kB / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.328, allocations: 11.94 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.328, allocations: 0 / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3281, allocations: 0 / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3281, allocations: 3.984 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.3282, allocations: 111.1 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.3283, allocations: 77.11 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3283, allocations: 3.938 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.3283, allocations: 0 / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.3284, allocations: 16.08 kB / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3284, allocations: 0 / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.3284, allocations: 87.27 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3284, allocations: 0 / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000213/0.3286, allocations: 20 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.0001815/0.3288, allocations: 115.2 kB / 0.9548 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.3289, allocations: 35.92 kB / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3289, allocations: 0 / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.329, allocations: 16.12 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3291, allocations: 3.391 kB / 0.9548 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.3294, allocations: 137.5 kB / 0.9549 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3297, allocations: 0.6883 MB / 0.9556 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.601e-05/0.3297, allocations: 4.547 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.3297, allocations: 7.438 kB / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3297, allocations: 0 / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Templates: time 0.00328/0.333, allocations: 0.8942 MB / 0.9565 GB, free: 2.102 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 cvode -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