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.001/0.001, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001126/0.001126, allocations: 181 kB / 24.08 MB, free: 420 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 0.9981/0.9981, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.841/1.841, allocations: 377.9 MB / 0.6239 GB, free: 8.422 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.753e-06/1.753e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.879e-05, allocations: 6.906 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00137/0.001399, allocations: 0.5407 MB / 0.8125 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004179/0.001817, allocations: 184.6 kB / 0.8127 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.001846, allocations: 1.594 kB / 0.8127 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.001877, allocations: 0 / 0.8127 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.001926, allocations: 4 kB / 0.8127 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.002396, allocations: 76.72 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.002449, allocations: 4 kB / 0.8128 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.002488, allocations: 4.781 kB / 0.8128 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.002526, allocations: 11.92 kB / 0.8128 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.555e-05/0.002551, allocations: 5.688 kB / 0.8128 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.002564, allocations: 0 / 0.8128 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.002775, allocations: 159.7 kB / 0.8129 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.002808, allocations: 4 kB / 0.8129 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.002824, allocations: 7.938 kB / 0.8129 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.002964, allocations: 89.31 kB / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002966, allocations: 0 / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002967, allocations: 0 / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.002971, allocations: 0 / 0.813 GB, free: 424 kB / 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.000284/0.003255, allocations: 369.8 kB / 0.8134 GB, free: 16 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.003298, allocations: 12.03 kB / 0.8134 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.003322, allocations: 0.9375 kB / 0.8134 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.00341, allocations: 112.6 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.00342, allocations: 2.125 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.003442, allocations: 8.359 kB / 0.8135 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.086e-05/0.003523, allocations: 59.95 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.00353, allocations: 4.188 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.003536, allocations: 1.562 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.003542, allocations: 384 / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-06/0.003552, allocations: 3.938 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.003667, allocations: 107 kB / 0.8137 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.003704, allocations: 31 kB / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.003718, allocations: 7.688 kB / 0.8137 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.003762, allocations: 12.05 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.003789, allocations: 43.97 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.00379, allocations: 0 / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003568/0.004147, allocations: 185.7 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.004172, allocations: 51.41 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.004248, allocations: 169.9 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.004258, allocations: 26.42 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.004299, allocations: 131.4 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.004321, allocations: 7.953 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.004351, allocations: 21.03 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.004471, allocations: 0.4961 MB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.004484, allocations: 7.938 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.004503, allocations: 19.38 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.004539, allocations: 28.98 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.00454, allocations: 0 / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.236e-05/0.004602, allocations: 50.75 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004613, allocations: 8 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.004619, allocations: 0 / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.004628, allocations: 1.125 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.004673, allocations: 11.98 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.004676, allocations: 0 / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.004689, allocations: 4.75 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.004694, allocations: 4 kB / 0.815 GB, free: 14.21 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.518e-05/0.004759, allocations: 153.1 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.00477, allocations: 8.844 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/0.004867, allocations: 57.92 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004869, allocations: 2.031 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.004871, allocations: 0 / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.004874, allocations: 0 / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.001e-05/0.004944, allocations: 105.2 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004945, allocations: 4 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.004977, allocations: 8.531 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004979, allocations: 0 / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.004985, allocations: 6.484 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.004986, allocations: 0 / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.004988, allocations: 3.984 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.005083, allocations: 92.27 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.00509, allocations: 4 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.005098, allocations: 0 / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.005134, allocations: 0 / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.00515, allocations: 13.77 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.005154, allocations: 0 / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.005191, allocations: 127.2 kB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.005191, allocations: 0 / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001556/0.005347, allocations: 19.94 kB / 0.8155 GB, free: 13.56 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.0001375/0.005484, allocations: 120.3 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.02e-05/0.005545, allocations: 25.53 kB / 0.8157 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005546, allocations: 0 / 0.8157 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.005559, allocations: 15.91 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.005665, allocations: 11.88 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.005868, allocations: 127.7 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.005899, allocations: 59.34 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.005924, allocations: 7.984 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.005967, allocations: 74.91 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.005968, allocations: 0.6562 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of Templates: time 0.002669/0.008637, allocations: 1.024 MB / 0.817 GB, free: 12.06 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: 4.984998116269708]