Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 78.72 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002376/0.002376, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.926/2.926, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/3.023e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001513/0.001543, allocations: 0.5284 MB / 0.9819 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005131/0.002056, allocations: 183.3 kB / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.002074, allocations: 0 / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.002095, allocations: 0 / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.002133, allocations: 0 / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.002546, allocations: 79.69 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.002589, allocations: 4 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 2.333e-05/0.002612, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.002649, allocations: 19.92 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.002677, allocations: 7.938 kB / 0.9822 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.002693, allocations: 0 / 0.9822 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.002972, allocations: 155.7 kB / 0.9823 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.003009, allocations: 4 kB / 0.9823 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.003028, allocations: 3.938 kB / 0.9824 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.003212, allocations: 91.8 kB / 0.9824 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003213, allocations: 0 / 0.9824 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003214, allocations: 0 / 0.9824 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003218, allocations: 0 / 0.9824 GB, free: 10.92 MB / 0.9356 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.0003497/0.003568, allocations: 270.2 kB / 0.9827 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.003604, allocations: 12.03 kB / 0.9827 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.00364, allocations: 4.938 kB / 0.9827 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.003743, allocations: 113.7 kB / 0.9828 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.003756, allocations: 4.375 kB / 0.9828 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.003777, allocations: 4.359 kB / 0.9828 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.003902, allocations: 67.95 kB / 0.9829 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.003908, allocations: 192 / 0.9829 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.003916, allocations: 384 / 0.9829 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.00392, allocations: 384 / 0.9829 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.003953, allocations: 15.92 kB / 0.9829 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.004107, allocations: 117.3 kB / 0.983 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.004168, allocations: 30.48 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.004191, allocations: 12.92 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.004227, allocations: 4 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.004256, allocations: 38.55 kB / 0.9831 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004257, allocations: 0 / 0.9831 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005238/0.004781, allocations: 213.2 kB / 0.9833 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.004824, allocations: 51.41 kB / 0.9834 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.004931, allocations: 125.9 kB / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.004951, allocations: 29.7 kB / 0.9835 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.004997, allocations: 80.14 kB / 0.9836 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.005026, allocations: 15.91 kB / 0.9836 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.005059, allocations: 13.72 kB / 0.9836 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.005197, allocations: 322.8 kB / 0.9839 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.005223, allocations: 8 kB / 0.9839 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.005258, allocations: 29.7 kB / 0.984 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.005324, allocations: 45.64 kB / 0.984 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.005325, allocations: 0 / 0.984 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.005428, allocations: 69.62 kB / 0.9841 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.005443, allocations: 4 kB / 0.9841 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.005447, allocations: 0 / 0.9841 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.005461, allocations: 3.938 kB / 0.9841 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.005521, allocations: 8 kB / 0.9841 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.934e-06/0.005527, allocations: 3.938 kB / 0.9841 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.005542, allocations: 0 / 0.9841 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.00555, allocations: 4 kB / 0.9841 GB, free: 9.012 MB / 0.9356 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 0.000103/0.005653, allocations: 117.8 kB / 0.9842 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.005666, allocations: 8.016 kB / 0.9842 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.0058, allocations: 65.67 kB / 0.9843 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005801, allocations: 4 kB / 0.9843 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.005805, allocations: 3.938 kB / 0.9843 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.005809, allocations: 3.938 kB / 0.9843 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.005914, allocations: 113.3 kB / 0.9844 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005915, allocations: 0 / 0.9844 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.005963, allocations: 4 kB / 0.9844 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005964, allocations: 3.938 kB / 0.9844 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.005973, allocations: 4 kB / 0.9844 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005975, allocations: 4 kB / 0.9844 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005975, allocations: 0 / 0.9844 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.006136, allocations: 113.2 kB / 0.9845 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.006144, allocations: 3.953 kB / 0.9845 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.006155, allocations: 0 / 0.9845 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.006202, allocations: 8.031 kB / 0.9845 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.006215, allocations: 0 / 0.9845 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.006221, allocations: 3.984 kB / 0.9845 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.006279, allocations: 95.16 kB / 0.9846 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.006279, allocations: 0 / 0.9846 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002078/0.006487, allocations: 19.94 kB / 0.9846 GB, free: 8.383 MB / 0.9356 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.0001943/0.006681, allocations: 131.3 kB / 0.9848 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.006769, allocations: 23.98 kB / 0.9848 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.006771, allocations: 0 / 0.9848 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.006794, allocations: 19.94 kB / 0.9848 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.006944, allocations: 6.062 kB / 0.9848 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.007223, allocations: 124.8 kB / 0.9849 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.007288, allocations: 67.33 kB / 0.985 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.007314, allocations: 8.672 kB / 0.985 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.007333, allocations: 8.5 kB / 0.985 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.007334, allocations: 0 / 0.985 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of Templates: time 0.003637/0.01097, allocations: 0.8978 MB / 0.9859 GB, free: 7.055 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.381254483014345]