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.0009525/0.0009525, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009296/0.0009296, allocations: 177 kB / 23.36 MB, free: 1.125 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.5/2.5, 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 1.914e-06/1.914e-06, allocations: 0.5469 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.645e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001313/0.00134, allocations: 0.5959 MB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.001722, allocations: 175.5 kB / 0.8393 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.001741, allocations: 4 kB / 0.8393 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.001767, allocations: 7.938 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.234e-05/0.001809, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.002133, allocations: 51.78 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.002185, allocations: 23.91 kB / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.002219, allocations: 0 / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.002258, allocations: 7.984 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.409e-05/0.002282, allocations: 0 / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.002296, allocations: 4 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.002526, allocations: 179.5 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.002558, allocations: 3.984 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.002572, allocations: 8 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.0027, allocations: 79.81 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002701, allocations: 3.938 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002702, allocations: 0 / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.002706, allocations: 0 / 0.8397 GB, free: 13.03 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.0002163/0.002922, allocations: 240.8 kB / 0.8399 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.002953, allocations: 12.03 kB / 0.8399 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.002978, allocations: 4.922 kB / 0.8399 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.003049, allocations: 113.7 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.003057, allocations: 4.375 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.003075, allocations: 8.375 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.003149, allocations: 62.78 kB / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.003154, allocations: 192 / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.003161, allocations: 4.375 kB / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003165, allocations: 384 / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.45e-05/0.00318, allocations: 7.938 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.103e-05/0.003271, allocations: 66.69 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.003306, allocations: 22.55 kB / 0.8402 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.003319, allocations: 12.86 kB / 0.8402 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.003353, allocations: 8.047 kB / 0.8402 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.003372, allocations: 34.56 kB / 0.8403 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.003373, allocations: 0 / 0.8403 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0003958/0.003769, allocations: 186.8 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.003791, allocations: 51.41 kB / 0.8405 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.003848, allocations: 110.7 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.003857, allocations: 25.7 kB / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.003884, allocations: 92.34 kB / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.003904, allocations: 7.953 kB / 0.8407 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.003927, allocations: 13.72 kB / 0.8407 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.00401, allocations: 322.8 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.00402, allocations: 6.828 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.004039, allocations: 17.66 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.004071, allocations: 27.36 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.004072, allocations: 0 / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.421e-05/0.004136, allocations: 59.28 kB / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004148, allocations: 8 kB / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.004153, allocations: 0 / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.004164, allocations: 4 kB / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.488e-05/0.004199, allocations: 4 kB / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.004201, allocations: 0 / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.004211, allocations: 0 / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.004217, allocations: 7.938 kB / 0.8412 GB, free: 11.3 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 5.045e-05/0.004268, allocations: 112.7 kB / 0.8413 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.004275, allocations: 4 kB / 0.8413 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/0.004354, allocations: 53.62 kB / 0.8413 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.004355, allocations: 0 / 0.8413 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.004357, allocations: 0 / 0.8413 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.00436, allocations: 0 / 0.8413 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.706e-05/0.004417, allocations: 78 kB / 0.8414 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004418, allocations: 0 / 0.8414 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.004446, allocations: 4 kB / 0.8414 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.004448, allocations: 3.984 kB / 0.8414 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.004454, allocations: 8 kB / 0.8414 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.004456, allocations: 0 / 0.8414 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004457, allocations: 0 / 0.8414 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.606e-05/0.004543, allocations: 86.59 kB / 0.8415 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.004549, allocations: 0 / 0.8415 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.004557, allocations: 8 kB / 0.8415 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.004576, allocations: 0 / 0.8415 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.004585, allocations: 0 / 0.8415 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.004591, allocations: 7.984 kB / 0.8415 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.28e-05/0.004603, allocations: 12.86 kB / 0.8415 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.004603, allocations: 0 / 0.8415 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000129/0.004732, allocations: 19.94 kB / 0.8416 GB, free: 10.86 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.0001195/0.004852, allocations: 100.4 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.395e-05/0.004906, allocations: 28.81 kB / 0.8417 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.004909, allocations: 4 kB / 0.8417 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-06/0.004918, allocations: 8.859 kB / 0.8417 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.993e-05/0.004988, allocations: 9.766 kB / 0.8417 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.005181, allocations: 130.2 kB / 0.8418 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.014e-05/0.005211, allocations: 59.34 kB / 0.8419 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.00523, allocations: 4 kB / 0.8419 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.005271, allocations: 55.36 kB / 0.8419 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.005272, allocations: 128 / 0.8419 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.002487/0.007759, allocations: 1.032 MB / 0.843 GB, free: 9.375 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 -s gbode -gbm=radauIIA3 -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.334800531156361]