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.001825/0.001825, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001545/0.001545, allocations: 162.3 kB / 23.01 MB, free: 4.598 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] 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.875/2.875, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002185/0.002185, allocations: 67.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002062/1.05, allocations: 0.5221 MB / 1.187 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000552/1.051, allocations: 184.2 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/1.051, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/1.051, allocations: 5.5 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/1.051, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/1.052, allocations: 69.7 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/1.052, allocations: 12.58 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/1.052, allocations: 5.984 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/1.052, allocations: 14.91 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/1.052, allocations: 4.703 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/1.052, allocations: 0 / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/1.052, allocations: 152.5 kB / 1.188 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/1.052, allocations: 8.016 kB / 1.188 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/1.052, allocations: 7.438 kB / 1.188 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/1.052, allocations: 71.09 kB / 1.188 GB, free: 15.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.052, allocations: 9.375 kB / 1.188 GB, free: 15.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.745e-06/1.052, allocations: 0 / 1.188 GB, free: 15.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.052, allocations: 0 / 1.188 GB, free: 15.67 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.0003348/1.053, allocations: 262.4 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.053, allocations: 10.14 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/1.053, allocations: 2.312 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/1.053, allocations: 114.7 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/1.053, allocations: 1.75 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/1.053, allocations: 1.75 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/1.053, allocations: 65.75 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/1.053, allocations: 5.562 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.053, allocations: 7.922 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.053, allocations: 4.562 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/1.053, allocations: 13.97 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/1.053, allocations: 110.1 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.551e-05/1.053, allocations: 22.62 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/1.053, allocations: 11.67 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/1.053, allocations: 5.484 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/1.053, allocations: 39.88 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.053, allocations: 0 / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005595/1.054, allocations: 228.1 kB / 1.188 GB, free: 14.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/1.054, allocations: 51.41 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/1.054, allocations: 113.5 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/1.054, allocations: 26.31 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/1.054, allocations: 86.02 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/1.054, allocations: 11.61 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/1.054, allocations: 18.36 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/1.054, allocations: 318 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/1.054, allocations: 11.06 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/1.054, allocations: 28.44 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/1.054, allocations: 42.12 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.054, allocations: 0 / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/1.054, allocations: 66.56 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.054, allocations: 7.047 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.054, allocations: 5.312 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.055, allocations: 3.938 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/1.055, allocations: 7.641 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.055, allocations: 5.562 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/1.055, allocations: 0 / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.055, allocations: 3.109 kB / 1.189 GB, free: 14.08 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.328e-05/1.055, allocations: 114.1 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/1.055, allocations: 5.781 kB / 1.189 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/1.055, allocations: 79.17 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.055, allocations: 1.781 kB / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.055, allocations: 0 / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.055, allocations: 0 / 1.189 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.681e-05/1.055, allocations: 117.8 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.055, allocations: 5.062 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/1.055, allocations: 5.516 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.055, allocations: 0.75 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/1.055, allocations: 1.75 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/1.055, allocations: 3.938 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.055, allocations: 5.031 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/1.055, allocations: 105 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/1.055, allocations: 7.25 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/1.055, allocations: 4 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/1.055, allocations: 5.844 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/1.055, allocations: 6.922 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/1.055, allocations: 5.469 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.612e-05/1.055, allocations: 89.48 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.055, allocations: 1.688 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002345/1.055, allocations: 19.69 kB / 1.19 GB, free: 13.58 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.000159/1.056, allocations: 113.9 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001238/1.056, allocations: 31.81 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.056, allocations: 0 / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/1.056, allocations: 18.16 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/1.056, allocations: 9.219 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/1.056, allocations: 126.9 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.177e-05/1.056, allocations: 69.03 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.505e-05/1.056, allocations: 3.359 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/1.056, allocations: 11.75 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/1.056, allocations: 0 / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of Templates: time 0.003812/1.06, allocations: 0.8958 MB / 1.191 GB, free: 13.18 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.078789517050609]