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.001012/0.001012, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.000968/0.000968, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.069/1.069, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.832/1.832, allocations: 377.9 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.333e-06/1.333e-06, allocations: 0 / 0.8115 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.781e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001083/0.001101, allocations: 0.5366 MB / 0.812 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.001499, allocations: 192.5 kB / 0.8122 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.001524, allocations: 0 / 0.8122 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.001552, allocations: 1.375 kB / 0.8122 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.074e-05/0.001592, allocations: 7.875 kB / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.00198, allocations: 59.78 kB / 0.8123 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.00204, allocations: 18.17 kB / 0.8123 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.002081, allocations: 0 / 0.8123 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.002114, allocations: 7.984 kB / 0.8123 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.661e-05/0.00214, allocations: 3.984 kB / 0.8123 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.002156, allocations: 4 kB / 0.8123 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.002348, allocations: 163.5 kB / 0.8125 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.002387, allocations: 8.516 kB / 0.8125 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.002403, allocations: 0.7188 kB / 0.8125 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.002548, allocations: 87.69 kB / 0.8125 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.002552, allocations: 4.484 kB / 0.8126 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002553, allocations: 0 / 0.8126 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.002557, allocations: 5.594 kB / 0.8126 GB, free: 1.074 MB / 0.7605 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.0002934/0.00285, allocations: 368.5 kB / 0.8129 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.002886, allocations: 8.031 kB / 0.8129 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.002924, allocations: 4.938 kB / 0.8129 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/0.003009, allocations: 109.2 kB / 0.813 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.003021, allocations: 4.375 kB / 0.813 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.003042, allocations: 1.25 kB / 0.813 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.551e-05/0.003138, allocations: 64.39 kB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.003144, allocations: 192 / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.003153, allocations: 1.031 kB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.00316, allocations: 384 / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/0.003176, allocations: 12.56 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.003305, allocations: 118 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.355e-05/0.003348, allocations: 31.09 kB / 0.8132 GB, free: 256 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.003365, allocations: 7.688 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.003406, allocations: 9.75 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.003427, allocations: 33.39 kB / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.003428, allocations: 0 / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0004826/0.003911, allocations: 194.9 kB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.003941, allocations: 55.41 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.00403, allocations: 170.1 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.00404, allocations: 26.67 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.004085, allocations: 130.9 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.004116, allocations: 22.14 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.004146, allocations: 27.31 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.004263, allocations: 0.4884 MB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.004278, allocations: 4 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.004302, allocations: 19.38 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.004345, allocations: 38.64 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.004346, allocations: 0 / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.478e-05/0.00441, allocations: 49.66 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.004427, allocations: 11.94 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.004433, allocations: 0 / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.004448, allocations: 0 / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.004504, allocations: 7.984 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.004512, allocations: 12 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-06/0.004522, allocations: 1 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.004528, allocations: 0 / 0.8145 GB, free: 14.83 MB / 0.7761 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 6.713e-05/0.004595, allocations: 157.1 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.004603, allocations: 4.562 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.004695, allocations: 58.23 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.004696, allocations: 0 / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.004701, allocations: 9.031 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.004705, allocations: 3.938 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.627e-05/0.004772, allocations: 116.6 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004772, allocations: 0.8438 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.004809, allocations: 7.984 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.00481, allocations: 0.8125 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.004818, allocations: 0 / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004818, allocations: 0.9375 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.00482, allocations: 4 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.00492, allocations: 88.98 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.004926, allocations: 0 / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.004936, allocations: 0.5625 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.00497, allocations: 11.98 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.004984, allocations: 1.031 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.004987, allocations: 0 / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.005026, allocations: 135.1 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005026, allocations: 0.9688 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001406/0.005166, allocations: 23.98 kB / 0.8151 GB, free: 14.15 MB / 0.7761 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.0001271/0.005293, allocations: 120.1 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.005366, allocations: 24.8 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005368, allocations: 0 / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.005381, allocations: 19.62 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.00549, allocations: 5.094 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.005705, allocations: 118.4 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.005736, allocations: 60.31 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.084e-05/0.005757, allocations: 0 / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.005774, allocations: 13.09 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.005775, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.002509/0.008284, allocations: 0.9284 MB / 0.8164 GB, free: 12.82 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.205517763039097]