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.002009/0.002009, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001716/0.001716, allocations: 157.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.779/2.779, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.88 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245/1.247, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001707/1.249, allocations: 0.5159 MB / 1.154 GB, free: 33.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0005065/1.249, allocations: 183.7 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/1.25, allocations: 4 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/1.25, allocations: 7.875 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/1.25, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/1.25, allocations: 64.3 kB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.824e-05/1.25, allocations: 10.69 kB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/1.25, allocations: 3.375 kB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/1.25, allocations: 6.484 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/1.25, allocations: 6.406 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/1.25, allocations: 0 / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/1.25, allocations: 158.5 kB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/1.25, allocations: 10.7 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/1.25, allocations: 6.469 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/1.251, allocations: 77.11 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.251, allocations: 0 / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/1.251, allocations: 0 / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.251, allocations: 0 / 1.155 GB, free: 32.82 MB / 1.076 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.0003091/1.251, allocations: 265.6 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/1.251, allocations: 8.188 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/1.251, allocations: 7.984 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/1.251, allocations: 109.2 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/1.251, allocations: 384 / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/1.251, allocations: 11.31 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/1.251, allocations: 60.41 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/1.251, allocations: 192 / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.251, allocations: 10.73 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.251, allocations: 0 / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/1.251, allocations: 15.09 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/1.251, allocations: 108.6 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/1.251, allocations: 26.98 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/1.252, allocations: 13.23 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/1.252, allocations: 9.5 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.252, allocations: 30.56 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/1.252, allocations: 0 / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005073/1.252, allocations: 233.8 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/1.252, allocations: 51.41 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/1.252, allocations: 111.4 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/1.252, allocations: 25.7 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/1.252, allocations: 86.7 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/1.252, allocations: 7.281 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/1.252, allocations: 19.47 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.553e-05/1.252, allocations: 320.4 kB / 1.156 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/1.252, allocations: 8.438 kB / 1.156 GB, free: 31.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/1.252, allocations: 32.27 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5e-05/1.252, allocations: 36.64 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/1.252, allocations: 3.031 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.857e-05/1.252, allocations: 73.86 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.252, allocations: 5.812 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/1.252, allocations: 64 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.253, allocations: 10.78 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/1.253, allocations: 5.469 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.253, allocations: 0 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/1.253, allocations: 0 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/1.253, allocations: 9.969 kB / 1.157 GB, free: 31.22 MB / 1.076 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.724e-05/1.253, allocations: 112.4 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/1.253, allocations: 2.75 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/1.253, allocations: 71.97 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/1.253, allocations: 0 / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.253, allocations: 6.562 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.253, allocations: 0 / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.757e-05/1.253, allocations: 113.4 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/1.253, allocations: 0 / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/1.253, allocations: 2.906 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.253, allocations: 2.406 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.253, allocations: 7.047 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.253, allocations: 3.938 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.253, allocations: 0 / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/1.253, allocations: 109.9 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/1.253, allocations: 2.656 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/1.253, allocations: 4.297 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-05/1.253, allocations: 10.94 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/1.253, allocations: 3.047 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/1.253, allocations: 3.984 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.946e-05/1.253, allocations: 91.67 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.253, allocations: 0 / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002002/1.253, allocations: 20.91 kB / 1.157 GB, free: 30.74 MB / 1.076 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.0001434/1.254, allocations: 112.3 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000102/1.254, allocations: 43.17 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.254, allocations: 4.125 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/1.254, allocations: 11.16 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/1.254, allocations: 10.66 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/1.254, allocations: 132.5 kB / 1.157 GB, free: 30.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/1.254, allocations: 69.27 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.286e-05/1.254, allocations: 10.75 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/1.254, allocations: 11.09 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.254, allocations: 0 / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of Templates: time 0.003531/1.258, allocations: 0.901 MB / 1.158 GB, free: 30.31 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.374957924010232]