Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00105/0.00105, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001672/0.001672, allocations: 173 kB / 23.02 MB, free: 1.551 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.019/2.019, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.661e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001177/0.001203, allocations: 0.5454 MB / 0.8787 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.001581, allocations: 186.3 kB / 0.8789 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.001602, allocations: 4 kB / 0.8789 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.001634, allocations: 3.984 kB / 0.8789 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.001679, allocations: 2 kB / 0.8789 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.002086, allocations: 68.38 kB / 0.8789 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.002141, allocations: 14.66 kB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.002177, allocations: 4.656 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.002209, allocations: 8.984 kB / 0.879 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.677e-05/0.002236, allocations: 3.984 kB / 0.879 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.00225, allocations: 0 / 0.879 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.002452, allocations: 166 kB / 0.8791 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.002492, allocations: 4 kB / 0.8791 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.002511, allocations: 4 kB / 0.8791 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.002662, allocations: 87.69 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002664, allocations: 0 / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/0.002666, allocations: 3.984 kB / 0.8792 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.002671, allocations: 2.156 kB / 0.8792 GB, free: 5.293 MB / 0.8386 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.0002952/0.002966, allocations: 364.5 kB / 0.8796 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.003005, allocations: 12.03 kB / 0.8796 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.003044, allocations: 4.891 kB / 0.8796 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.003123, allocations: 108.6 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.003134, allocations: 4.375 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.003158, allocations: 9.047 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.302e-05/0.003251, allocations: 61.61 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.003257, allocations: 192 / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003266, allocations: 384 / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.003273, allocations: 384 / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.003292, allocations: 13.09 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.00343, allocations: 120.6 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.00348, allocations: 31.06 kB / 0.8799 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.003499, allocations: 16.5 kB / 0.8799 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.003545, allocations: 4 kB / 0.8799 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.003567, allocations: 33.39 kB / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.003568, allocations: 0 / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004383/0.004006, allocations: 193.7 kB / 0.8801 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.004034, allocations: 55.34 kB / 0.8802 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.004108, allocations: 173.9 kB / 0.8804 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.004118, allocations: 29.7 kB / 0.8804 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.004156, allocations: 130.9 kB / 0.8805 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.004178, allocations: 12.12 kB / 0.8805 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.004205, allocations: 27.31 kB / 0.8806 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.004319, allocations: 0.4884 MB / 0.881 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.004332, allocations: 4 kB / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.004357, allocations: 23.38 kB / 0.8811 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.004394, allocations: 27.36 kB / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.004395, allocations: 0 / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.634e-05/0.004461, allocations: 49.64 kB / 0.8811 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.004475, allocations: 8.062 kB / 0.8811 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.004479, allocations: 0 / 0.8811 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.004494, allocations: 4 kB / 0.8811 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.004549, allocations: 11.98 kB / 0.8812 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.004555, allocations: 3.938 kB / 0.8812 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.004567, allocations: 8 kB / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.004573, allocations: 0 / 0.8812 GB, free: 3.039 MB / 0.8386 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.033e-05/0.004633, allocations: 156.5 kB / 0.8813 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.00464, allocations: 7.953 kB / 0.8813 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.427e-05/0.004735, allocations: 49.69 kB / 0.8814 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.004737, allocations: 8.172 kB / 0.8814 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.004741, allocations: 0 / 0.8814 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.004747, allocations: 11.92 kB / 0.8814 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.663e-05/0.004813, allocations: 112.6 kB / 0.8815 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.004814, allocations: 0 / 0.8815 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.004855, allocations: 15.98 kB / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.004857, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.004864, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.004864, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.004865, allocations: 0 / 0.8815 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.655e-05/0.004962, allocations: 88.31 kB / 0.8816 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.004971, allocations: 11.98 kB / 0.8816 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.004981, allocations: 0 / 0.8816 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.222e-05/0.005014, allocations: 3.984 kB / 0.8816 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.00503, allocations: 4 kB / 0.8816 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.005034, allocations: 0 / 0.8816 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.005071, allocations: 131.1 kB / 0.8817 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005071, allocations: 0 / 0.8817 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001477/0.005219, allocations: 23.92 kB / 0.8818 GB, free: 2.352 MB / 0.8386 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.0001531/0.005372, allocations: 127.2 kB / 0.8819 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.392e-05/0.005456, allocations: 27.61 kB / 0.8819 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005458, allocations: 0 / 0.8819 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.005471, allocations: 15.69 kB / 0.8819 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.005584, allocations: 7.938 kB / 0.8819 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002324/0.005816, allocations: 118.4 kB / 0.882 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.005847, allocations: 59.34 kB / 0.8821 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.005869, allocations: 4.547 kB / 0.8821 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.005886, allocations: 8.5 kB / 0.8821 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/0.005886, allocations: 0 / 0.8821 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of Templates: time 0.002917/0.008803, allocations: 1.031 MB / 0.8831 GB, free: 0.8984 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.466973687987775]