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.0008531/0.0008531, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001031/0.001031, allocations: 181 kB / 23.36 MB, free: 1.133 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.427/2.427, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 9.42e-07/9.42e-07, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.05e-05, allocations: 10.31 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0008931/0.0009036, allocations: 0.5324 MB / 0.8391 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.001197, allocations: 183.3 kB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.001214, allocations: 0 / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.001238, allocations: 8 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.001279, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.001615, allocations: 67.7 kB / 0.8393 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.00166, allocations: 11.98 kB / 0.8393 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.001694, allocations: 7.984 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.001726, allocations: 11.92 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.352e-05/0.001749, allocations: 0 / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.00176, allocations: 0 / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.001951, allocations: 163.7 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.001982, allocations: 4 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.001995, allocations: 7.938 kB / 0.8395 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.002115, allocations: 87.73 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002117, allocations: 0 / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002117, allocations: 0 / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.00212, allocations: 0 / 0.8396 GB, free: 13.11 MB / 0.8073 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.0001988/0.002319, allocations: 244.8 kB / 0.8398 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.002347, allocations: 12.03 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.002366, allocations: 0.9375 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.203e-05/0.002428, allocations: 105.8 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.002436, allocations: 384 / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.002454, allocations: 8.375 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.786e-05/0.002522, allocations: 66.78 kB / 0.84 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-06/0.002526, allocations: 192 / 0.84 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.002531, allocations: 384 / 0.84 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.002535, allocations: 384 / 0.84 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.05e-05/0.002545, allocations: 11.88 kB / 0.84 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.936e-05/0.002615, allocations: 70.62 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.722e-05/0.002642, allocations: 18.61 kB / 0.8401 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.816e-06/0.002651, allocations: 4.859 kB / 0.8401 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.002676, allocations: 12 kB / 0.8401 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.002697, allocations: 38.56 kB / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.002698, allocations: 0 / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/0.003059, allocations: 190.8 kB / 0.8404 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.003083, allocations: 51.41 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.003133, allocations: 114.7 kB / 0.8405 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.003142, allocations: 25.7 kB / 0.8405 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.126e-05/0.003163, allocations: 84.14 kB / 0.8406 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.003183, allocations: 16.14 kB / 0.8406 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.003204, allocations: 17.72 kB / 0.8407 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.003277, allocations: 314.8 kB / 0.841 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.003286, allocations: 10.81 kB / 0.841 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.003304, allocations: 21.7 kB / 0.841 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.003331, allocations: 23.38 kB / 0.841 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.003332, allocations: 0 / 0.841 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.712e-05/0.003379, allocations: 55.28 kB / 0.8411 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.00339, allocations: 4 kB / 0.8411 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.003394, allocations: 4.062 kB / 0.8411 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.003407, allocations: 4 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.883e-05/0.003436, allocations: 7.984 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.00344, allocations: 3.938 kB / 0.8411 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-06/0.003448, allocations: 0 / 0.8411 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.003455, allocations: 7.938 kB / 0.8411 GB, free: 11.38 MB / 0.8073 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 4.43e-05/0.003499, allocations: 108.7 kB / 0.8412 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.003505, allocations: 4 kB / 0.8412 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.003568, allocations: 49.67 kB / 0.8413 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.003569, allocations: 4 kB / 0.8413 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.003571, allocations: 0 / 0.8413 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.003574, allocations: 0 / 0.8413 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.972e-05/0.003624, allocations: 73.83 kB / 0.8413 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.003625, allocations: 192 / 0.8413 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.003645, allocations: 7.984 kB / 0.8413 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.003646, allocations: 0 / 0.8413 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.00365, allocations: 3.984 kB / 0.8413 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.003652, allocations: 7.875 kB / 0.8413 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.003653, allocations: 4 kB / 0.8413 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.418e-05/0.003727, allocations: 78.67 kB / 0.8414 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.003731, allocations: 4.031 kB / 0.8414 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.003739, allocations: 7.984 kB / 0.8414 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.003752, allocations: 0 / 0.8414 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.003762, allocations: 0 / 0.8414 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.003765, allocations: 0 / 0.8414 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.003777, allocations: 16.84 kB / 0.8415 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003777, allocations: 0 / 0.8415 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001078/0.003885, allocations: 23.94 kB / 0.8415 GB, free: 10.93 MB / 0.8073 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.0001098/0.003995, allocations: 96.39 kB / 0.8416 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.944e-05/0.004044, allocations: 24.78 kB / 0.8416 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.004047, allocations: 0 / 0.8416 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-06/0.004055, allocations: 12.86 kB / 0.8416 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.178e-05/0.004117, allocations: 17.98 kB / 0.8416 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.004295, allocations: 126.2 kB / 0.8417 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.7e-05/0.004322, allocations: 59.34 kB / 0.8418 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.004339, allocations: 4 kB / 0.8418 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.004375, allocations: 55.31 kB / 0.8419 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of SimCode: time 2.91e-07/0.004376, allocations: 0 / 0.8419 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.002389/0.006764, allocations: 1.038 MB / 0.8429 GB, free: 9.449 MB / 0.8073 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.343351167161018]