Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.004293/0.004293, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001643/0.001643, allocations: 164.5 kB / 24.87 MB, free: 8.891 MB / 18.57 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.803/1.803, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.747e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001268/0.001295, allocations: 0.5451 MB / 0.7888 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.001682, allocations: 179.5 kB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.001708, allocations: 0.5 kB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.001737, allocations: 0 / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.184e-05/0.001779, allocations: 0.8438 kB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.002207, allocations: 76.42 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.002274, allocations: 15.94 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.002315, allocations: 1.25 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.00235, allocations: 7.984 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.51e-05/0.002375, allocations: 3.984 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.00239, allocations: 5.469 kB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.002604, allocations: 159.6 kB / 0.7892 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.002643, allocations: 4 kB / 0.7892 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.002656, allocations: 3.984 kB / 0.7892 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.002799, allocations: 88.95 kB / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002801, allocations: 3.938 kB / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/0.002803, allocations: 0 / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.002807, allocations: 4 kB / 0.7893 GB, free: 11.18 MB / 0.7448 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.0002824/0.00309, allocations: 365.2 kB / 0.7897 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.003122, allocations: 9.438 kB / 0.7897 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.003144, allocations: 4.938 kB / 0.7897 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.00322, allocations: 112.6 kB / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.003228, allocations: 384 / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.003245, allocations: 9.312 kB / 0.7898 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.047e-05/0.003316, allocations: 59.95 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.003322, allocations: 1.031 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.003328, allocations: 384 / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.003332, allocations: 1.375 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.014e-05/0.003342, allocations: 11.88 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.00345, allocations: 97.25 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.0035, allocations: 31.66 kB / 0.79 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.003513, allocations: 13.41 kB / 0.79 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.003546, allocations: 4 kB / 0.79 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.003569, allocations: 33.39 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.00357, allocations: 0 / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000337/0.003907, allocations: 191.2 kB / 0.7902 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.003933, allocations: 55.41 kB / 0.7903 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.004328, allocations: 167.1 kB / 0.7905 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.004341, allocations: 25.7 kB / 0.7905 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.004385, allocations: 130.9 kB / 0.7906 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.004408, allocations: 14.95 kB / 0.7906 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.004443, allocations: 27.36 kB / 0.7906 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.004575, allocations: 0.4883 MB / 0.7911 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.004584, allocations: 4 kB / 0.7911 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.004608, allocations: 19.98 kB / 0.7911 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.004643, allocations: 27.36 kB / 0.7912 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.004644, allocations: 0 / 0.7912 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.81e-05/0.004692, allocations: 58.25 kB / 0.7912 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.004706, allocations: 4.531 kB / 0.7912 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.004712, allocations: 5.25 kB / 0.7912 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.004722, allocations: 0 / 0.7912 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.004766, allocations: 11.98 kB / 0.7912 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.004768, allocations: 0.5312 kB / 0.7912 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-06/0.004777, allocations: 3.938 kB / 0.7912 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.004784, allocations: 5.375 kB / 0.7913 GB, free: 8.98 MB / 0.7448 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.738e-05/0.004861, allocations: 164.5 kB / 0.7914 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.004899, allocations: 4 kB / 0.7914 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.005006, allocations: 50.84 kB / 0.7915 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005007, allocations: 0 / 0.7915 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.00501, allocations: 1.031 kB / 0.7915 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.005015, allocations: 3.984 kB / 0.7915 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.11e-05/0.005086, allocations: 101.2 kB / 0.7916 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.005088, allocations: 1.75 kB / 0.7916 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.005116, allocations: 4 kB / 0.7916 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.005117, allocations: 192 / 0.7916 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.005123, allocations: 4 kB / 0.7916 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.005125, allocations: 4 kB / 0.7916 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.005128, allocations: 5.203 kB / 0.7916 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.836e-05/0.005226, allocations: 92.25 kB / 0.7917 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.005231, allocations: 0 / 0.7917 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.005238, allocations: 4.562 kB / 0.7917 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.005258, allocations: 3.438 kB / 0.7917 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.005271, allocations: 4 kB / 0.7917 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.005276, allocations: 3.984 kB / 0.7917 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.005321, allocations: 131.5 kB / 0.7918 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.11e-07/0.005322, allocations: 0 / 0.7918 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001661/0.005488, allocations: 23.94 kB / 0.7918 GB, free: 8.328 MB / 0.7448 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.0001555/0.005643, allocations: 118 kB / 0.7919 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.005719, allocations: 23.61 kB / 0.792 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.005722, allocations: 4.5 kB / 0.792 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.005736, allocations: 20.16 kB / 0.792 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.005853, allocations: 9.984 kB / 0.792 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.00607, allocations: 123.7 kB / 0.7921 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.006107, allocations: 59.34 kB / 0.7922 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.006133, allocations: 7.953 kB / 0.7922 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.006181, allocations: 70.77 kB / 0.7922 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.006181, allocations: 0 / 0.7922 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.003176/0.009357, allocations: 1.056 MB / 0.7933 GB, free: 6.812 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.173007231205702]